[MLton-devel] CPU utilization
Henry Cejtin
henry@sourcelight.com
Thu, 3 Jul 2003 14:41:07 -0500
Ok, so from the look of things, some other user process is fighting for the
CPU. That would explain the initial system load being 1 and the fact that
the idle time hasn't gone up at all. The machine has been up for 67 days,
but there are only 13 days of idle time, so assuming that the machine is
mainly not doing much stuff (usually correct to a first approximation), the
`tapeworm' process started 54 days ago, which would be Saturday, May 10th by
my calculation.
What does
ps aux -w -w -w
show? Any process racking up CPU time?
Since it could be something constantly restarting, also try this:
echo&
sleep 20&
echo&
If nothing else were making new processes, then the two numbers printed out
would be 2 apart. In 20 seconds, some daemons could fire, but if the
difference is more than 10 or so, that is what is going on. I see from the
procinfo that in 100 seconds there were about 16K context switches, or 160
per second. A bit fast, but probably just the result of 2 processes fighting
for the CPU.
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel