Date: Mon, 21 Nov 2011 13:23:22 +0700 From: Eugene Grosbein <eugen@grosbein.pp.ru> To: hackers@freebsd.org Subject: Re: dummynet(4) kernel process CPU usage monitoring Message-ID: <4EC9EE5A.2070204@grosbein.pp.ru> In-Reply-To: <4EC39367.4030109@rdtc.ru> References: <4EC39367.4030109@rdtc.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi! I need to draw graph of dummynet's CPU usage. "procstat -t 0" shows me TID (thread id) of dummynet kernel thread. "ps -Hxo time,lwp" shows me total CPU time consumed by this thread. Now I see this time has 9 seconds increase during 60 seconds of real time. This should be 9/60=15% CPU usage, but "top -SHP" shows me 0.00% meantime. Where is my error? Eugene Grosbein
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EC9EE5A.2070204>