topsysproc(1m) USER COMMANDS topsysproc(1m)

topsysproc - top syscalls by process name. Uses DTrace.

topsysproc [-Cs] [interval [count]]

This program continually prints a report of the number of system calls by process name, and refreshes the display every 1 second or as specified at the command line. Similar data can be fetched with "prstat -m".

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

don't clear the screen
print per second values

# topsysproc
# topsysproc 5
# topsysproc -C

load averages, see uptime(1)
total syscalls in this interval
syscalls per second
process name
total syscalls in this interval
syscalls per second

There may be several PIDs with the same process name.

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

topsysproc will run until Ctrl-C is hit.

Brendan Gregg [Sydney, Australia]

dtrace(1M), prstat(1M)

June 13, 2005 version 0.90