Linux Console CPU Load Monitor?

Linux Console CPU Load Monitor?

Author
Discussion

TheExcession

Original Poster:

11,669 posts

251 months

Wednesday 8th September 2004
quotequote all
Any Linux bods out there know how I can run a CPU load monitor from a console?

I need to stream out the current time and cpu load to a text file about 10 times per second.

Can top do this?

Ideally I'd also like to dump the names of say the busiest 5 processes at the same time.

thanks
Ex

TheExcession

Original Poster:

11,669 posts

251 months

Thursday 9th September 2004
quotequote all
thanks for the info guys,

hasn't really helped me sort the proble tho

TheExcession

Original Poster:

11,669 posts

251 months

Sunday 12th September 2004
quotequote all
rebelstar said:

TheExcession said:
thanks for the info guys,

hasn't really helped me sort the proble tho



Now that we've done the "my uptime is bigger than yours"...

I'll hack something together for you, but you'll need to tell me what kernel you're running (since the /proc filesystem changes between major releases).


Cheers man - you're a star!

It's

Red Hat Linux release 6.2 (Zoot)
Kernel 2.2.14-5.0smp on an i686

muchos gassios

best
Ex