GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
procsystime(1m) procsystime(1m)

procsystime - analyse system call times. Uses DTrace.

procsystime [-acehoT] [ -p PID | -n name | command ]

procsystime prints details on system call times for processes, both the elapsed times and on-cpu times can be printed.

The elapsed times are interesting, to help identify syscalls that take some time to complete (during which the process may have slept). CPU time helps us identify syscalls that are consuming CPU cycles to run.

Since this uses DTrace, only the root user or users with the dtrace_kernel privilege can run this command.

Solaris

stable - needs the syscall provider.

-a
print all data
-c
print syscall counts
-e
print elapsed times, ns
-o
print CPU times, ns
-T
print totals
-p PID
examine this PID
-n name
examine processes which have this name

Print elapsed times for PID 1871,
# procsystime -p 1871
Print elapsed times for processes called "tar",
# procsystime -n tar
Print CPU times for "tar" processes,
# procsystime -on tar
Print syscall counts for "tar" processes,
# procsystime -cn tar
Print elapsed and CPU times for "tar" processes,
# procsystime -eon tar
print all details for "bash" processes,
# procsystime -aTn bash
run and print details for "df -h",
# procsystime df -h

SYSCALL
System call name
TIME (ns)
Total time, nanoseconds
COUNT
Number of occurrences

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

procsystime will sample until Ctrl-C is hit.

Brendan Gregg [Sydney, Australia]

dtruss(1M), dtrace(1M), truss(1)

$Date:: 2007-08-05 #$ USER COMMANDS

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.