On Wed, 18 Nov 2009 20:18:08 +0300, cronfy <cro...@sprinthost.ru> wrote:

> Is it possible to find out how much a process have used CPU user 
> time/system time/IO operations for now by it's pid? Like in sa, but for 
> running process.
> 
> Thanks in advance.

man procfs(5), specifically, the status file.
% cat /proc/2143/status
Xorg ... 1255690702,469845 177507,790130 115403,436713 ...
         ^starttime^^^^^^^ ^usertime^^^^ ^system time^
-- 
Mel

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to