Date: Mon, 09 Mar 2009 09:35:36 -0400 From: Jay Loden <freebsd@jayloden.com> To: Dan Nelson <dnelson@allantgroup.com> Cc: freebsd-hackers@freebsd.org Subject: Re: CPU user/kernel time given the PID Message-ID: <49B51B28.8040604@jayloden.com> In-Reply-To: <20090309012137.GG3398@dan.emsphone.com> References: <200903082156.n28Lup7e085565@lurza.secnetix.de> <49B463D7.9010401@jayloden.com> <20090309012137.GG3398@dan.emsphone.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Dan Nelson wrote: > I was wondering why you were having so much trouble finding what you were > looking for, and then I realized I have a patch that I have never submitted > a PR for: the addition of "systime" and "usertime" ps keywords :) It simply > reads the rusage struct, and returns the same values that getrusage() does. Dan, this is great, exactly what I was looking for, didn't think to look for 'rusage' in the values in kinfo_proc. Thanks! -Jay
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49B51B28.8040604>