syscallbypid.d(1m) USER COMMANDS syscallbypid.d(1m)

syscallbypid.d - syscalls by process ID. Uses DTrace.

syscallbypid.d

This reports the number of each type of system call made by PID. This is useful to identify which process is causing the most system calls.

This is based on a script from DExplorer.

Since this uses DTrace, only users with root privileges can run this command.

# syscallbypid.d

process ID
process name
system call name
number of system calls made in this sample

See the DTraceToolkit for further documentation under the Docs directory. The DTraceToolkit docs may include full worked examples with verbose descriptions explaining the output.

syscallbypid.d will sample until Ctrl-C is hit.

Brendan Gregg [Sydney, Australia]

procsystime(1M), dtrace(1M), truss(1)

June 28, 2005 version 1.00