Help - Search - Members - Calendar
Full Version: Tool to monitor cpu usage
The Planet Forums > Operating Systems > BSD
tim
Ayone knows any good tool on freebsd that could give a detailled cpu consumption for like the 5-10 last seconds ?
Ie give a full list of the processes that ran in the last 5-10 seconds and sum up how much cpu they used ?
Kinda like the command top, but instead of showing the real time consumption at a given time, something that would sum it up for a certain period of time.

thanks.
kamihacker
try MRTG or HotSanic, but I don't think they are able to snapshot so much detail as you want

although they will graph your CPU load over time, I don't know what is the minimum scale, I guess you can make it work by the minute

regards
im1-bill
I have a script to monitor, kill and notify the sysadmin(s) of a runaway process on FreeBSD. You can snag it here: http://www.im1.com/download/pmon.tar.gz

You simply put the script in your rc.d directory and it launches the pmon script.
Should be easy to see how it works. We have used it to monitor and kill runaway apache processes for SlashCode based sites as sometimes mod_perl runs away.

Hope this helps

Bill
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.