In the last episode (Mar 16), Kostik Belousov said:
> On Wed, Mar 16, 2011 at 12:56:14PM -0500, Dan Nelson wrote:
> > 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
>
> Yes, apparently, this is often requested feature.
> 
> I dislike the copying of the existing code, sincere up to the comment that
> is not quite relevant (about interrupts in systime).  I slightly
> reorganized the patch to reduce the copy/paste part of it.
> 
> Do you have comments ?

I like it.

-- 
        Dan Nelson
        dnel...@allantgroup.com
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to