If anyone's interested, a few improvements to ptime(1) went back into build 104.

The default resolution for ptime(1) is now nanoseconds, not milliseconds.

ptime(1) now gives you microstate accounting with the -m flag.

ptime(1) can give you a snapshot of stats for a running process with
the -p flag.

Here's an example of some useful output:

# ptime -mp 3878

real  2:15:18.628852000
user     6:35.716786500
sys        25.661374000
trap    11:17.744179300
tflt        2.942089500
dflt        0.783120500
kflt        0.000000000
lock  4:12:29.949160100
slp   4:30:03.207612800
lat        10.936162100
stop        0.000081200
#

(For the curious, the excessive trap time was a result of trapping
into the kernel to handle misaligned memory accesses.)

Chad
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to