Hi all,
I'm running top on an atom N270 cpu (single core).
When the uptime reaches 10 hours
1) I run "top -b -n 1 -c -S" to get all the cpu time used by all processes ... Assuming that "init" receives gets the time spent by all dead processes (due to the "cumulative mode ON" option).
2) I run "cat /proc/uptime" to get the uptime and the sleep time
When I add the cumulative time and the sleep time I get (more or less) 9 hours.
I believe that the "lost time" is used by the kernel itself (task scheduling, IP forwarding, ... can't be attributed to userspace processes). But it's only a feeling
Am I wrong in my deduction ?
Is there a tool like "top" that works for the kernel ?
Thanks in advance,
Best regards,
David.