dummynet(4) kernel process CPU usage monitoring

Eugene Grosbein egrosbein at rdtc.ru
Mon Nov 21 05:58:29 UTC 2011


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?

Please CC: me as I'm not in the list.

Eugene Grosbein


More information about the freebsd-hackers mailing list