sample_load is an extremely flexible load logger. Not only when and how samples of the load are logged but also the output format is configurable. It can also log the memory-in-use (physical/swap). It uses a buffer (of configurable size) to temporarily store samples minimizing the overhead of writing to a file. Additionally, it can log the process process (PID, cmdline, CPU usage percentage) which has used the most CPU time in the last interval.
Release Notes: SQL output did not work for all databases, and has been fixed.
Release Notes: Logging of processes that used the most CPU time in the given interval did not work. That is now fixed.
Release Notes: This version is an important fix against version 3.0 and 3.5. These versions had a problem causing random processes to be killed. This is especially a problem when sample_load is running as root.
Release Notes: This release supports logging to an SQL-database.
Release Notes: This release can now log processes (pid, commandline and amount of cpu-time) which used the most cpu-time for the last interval. It can also kill the process using excessive CPU-time or memory.