usertime and systime

Dan Nelson dnelson at allantgroup.com
Wed Mar 16 18:09:49 UTC 2011


In the last episode (Mar 16), Thiago Damas said:
>   Hi,
>   without procfs, there is a way to get usertime and systime from a
> running process?

Try applying the attached patch to ps.  I've had it for a while but never
submitted a PR.

Heh. I've had it for a very long time. 
http://lists.freebsd.org/pipermail/freebsd-hackers/2009-March/027918.html

-- 
	Dan Nelson
	dnelson at allantgroup.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ps.diff
Type: text/x-diff
Size: 4236 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20110316/fb9ebfa5/ps.bin


More information about the freebsd-hackers mailing list