mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-09-11 08:07:30 -04:00
76 lines
1.4 KiB
Plaintext
76 lines
1.4 KiB
Plaintext
.TH topsysproc 1m "$Date: 2015/09/30 22:01:09 $" "USER COMMANDS"
|
|
.SH NAME
|
|
topsysproc \- top syscalls by process name. Uses DTrace.
|
|
.SH SYNOPSIS
|
|
.B topsysproc
|
|
[-Cs] [interval [count]]
|
|
.SH DESCRIPTION
|
|
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 the root user or users with the
|
|
dtrace_kernel privilege can run this command.
|
|
.SH OS
|
|
Solaris
|
|
.SH STABILITY
|
|
unstable - uses the hp_avenrun kernel symbol.
|
|
.SH OPTIONS
|
|
.TP
|
|
\-C
|
|
don't clear the screen
|
|
.TP
|
|
\-s
|
|
print per second values
|
|
.PP
|
|
.SH EXAMPLES
|
|
.TP
|
|
Default output, 1 second updates,
|
|
#
|
|
.B topsysproc
|
|
.TP
|
|
Print every 5 seconds,
|
|
#
|
|
.B topsysproc
|
|
5
|
|
.TP
|
|
Print a scrolling output,
|
|
#
|
|
.B topsysproc
|
|
\-C
|
|
.PP
|
|
.SH FIELDS
|
|
.TP
|
|
load avg
|
|
load averages, see uptime(1)
|
|
.TP
|
|
syscalls
|
|
total syscalls in this interval
|
|
.TP
|
|
syscalls/s
|
|
syscalls per second
|
|
.TP
|
|
PROCESS
|
|
process name
|
|
.TP
|
|
COUNT
|
|
total syscalls in this interval
|
|
.TP
|
|
COUNT/s
|
|
syscalls per second
|
|
.PP
|
|
.SH NOTES
|
|
There may be several PIDs with the same process name.
|
|
.PP
|
|
.SH DOCUMENTATION
|
|
See the DTraceToolkit for further documentation under the
|
|
Docs directory. The DTraceToolkit docs may include full worked
|
|
examples with verbose descriptions explaining the output.
|
|
.SH EXIT
|
|
topsysproc will run until Ctrl\-C is hit.
|
|
.SH AUTHOR
|
|
Brendan Gregg
|
|
[Sydney, Australia]
|
|
.SH SEE ALSO
|
|
dtrace(1M), prstat(1M)
|