sample_load - a load logger
sample_load is a highly configurable load-logger. It has some features I desperately needed when I was involved in the development of a the "www.geldshop.nl"-website.
sample_load takes a sample of the load-average of your system with a configurable interval. You can also set the minimum load for which samples should be logged. The maximum load (again; configurable) indicates at what load sample_load should terminate itself.
The the layout of the timestamp can be anything what the "strftime" C-function lets you define.
From version 2.0, sample_load can also log the amount of memory in use (physical/swap). sample_load has a configurable buffer-size, this is to prevent artificially higher load because of frequent open/write/close filesystemcalls.
Version 3.0 has a new option enabling the logging of the process that used the most cpu-time. sample_load can now also automatically shoot a process using too much cpu-time or memory (all configurable).
Users of version 3.x: please update to 3.6! 3.0/.5 contains a bug causing random processes to be killed!
Support: none. But you could give it a try on irc. Connect to irc.openprojects.net, channel 'sample_load'.
Thanks to Nexus B.V. for allowing me to place this application on my site under the GPL-license.
The sourcecode of this program can be downloaded via this link: sample_load-3.8.tgz.
Using internet explorer and trying to download sample_load.tgz? Press the right button on the file, pick "save as..." and enter "sample_load-3.8.tgz". That should do it.
Do you like this program? You can find my C.V. here :o)
For some serious performance analasys under Linux, have a look at atsar.
|January 19, 2005||3.8||SQL output did not work for all databases. Fixed.|
|August 2, 2004||3.7||Logging of process that used the most cpu-time did not work. Fixed.|
|October 27, 2000||3.65||No longer uses /dev/tty, uses /dev/stdout instead so piping works again.|
|October 23, 2000||3.6||Fixed bug causing processes to be killed, even when option was disabled. Please update to this version!|
|October 18, 2000||3.5||The program now can log into a SQL-database. The package finally includes a man-page (sort of :-]).|
|October 16, 2000||3.0||Added logging of proces which uses the most cpu-time, added kill-option for processes using too much memory or cpu-time|
|September ??, 2000||2.1||Memory-amount logging can now optionally be done in KB/MB/GB.|
|September 11, 2000||2.0||Added logging of memory-in-use (physical/swap), fixed bug where outputfile had to exist|
|July 31, 2000||1.0||Initial release|
P.s.: have a look at 'atsar'. It is a port of the famous 'sar'-tool to Linux. It is essential when doing performance analysis. You can find it here: ftp.atcomputing.nl/pub/tools/linux/.
Suggestions are welcome! Please use this form.
allows you to participate in lotteries from all over the world!