Go to main content

Oracle® Solaris 11.3 DTrace (Dynamic Tracing) Guide

Exit Print View

Updated: July 2018
 
 
Chapter 3

DTrace Aggregations

DTrace enables you to aggregate data gathered by the probes. For example, if you wanted to know the number of system calls by user ID, you would not necessarily care about the datum collected at each system call. You simply want to see a table of user IDs and system calls. Without aggregation, you would have post processed the data gathered at each system call by using a tool such as awk or perl. For more information about awk and perl, see awk(1) or perl(1) man page. In DTrace, aggregation of data is a first-class operation. This chapter describes the DTrace facilities for manipulating aggregations.