Linux Console CPU Load Monitor?
Discussion
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
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
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
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff