Date: Thu, 19 Nov 2009 16:20:14 +0100 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Boris Kochergin <spawk@acm.poly.edu> Cc: freebsd-hackers@freebsd.org, Koffie Yahoo <koffieyahoo@gmail.com> Subject: Re: Getting running time of child Message-ID: <86einu35jl.fsf@ds4.des.no> In-Reply-To: <4B056039.4040802@acm.poly.edu> (Boris Kochergin's message of "Thu, 19 Nov 2009 10:11:53 -0500") References: <9cb658f10911190214j5a6bc17fq200a82ea0b4acaa8@mail.gmail.com> <86ocmy63ww.fsf@ds4.des.no> <9cb658f10911190652j555e4484u2427d2bed87871f8@mail.gmail.com> <4B056039.4040802@acm.poly.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Boris Kochergin <spawk@acm.poly.edu> writes: > It's not as portable as getrusage(2), but you could probably get the > information you want using libkvm's kvm_getprocs(3) function. The > information available is defined in the kinfo_proc structure in > /usr/include/sys/user.h. Read the original post. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86einu35jl.fsf>