cpusage v0.1 ------------ This tool read out the tics couter of the operating system and calculates the Percentages spend in each CPU_STATE. This is done each half second. The output is send to standard out. Supplementary the minimum, maximum and average percentages are displayed. The recording for the average measuring can be limited to start only if the idle value drops under a certain limit (set with the -l option) and stops if the idle value returns over that limit again. 1. Commandline options: -o format the output machine readable (no cpu state names, colons between values) -l int set limits for average usage snapping -a build average over the whole time, same as -l 100 -h prints the help 2. Building and installing: a) download the tarball: http://www.net.in.tum.de/~schneifa/sources/cpusage-0.1.tar.gz b) unpack the tarball: tar -xvzf cpusage-0.1.tar.gz c) build the program: cd cpusage-0.1 make (please use GNU make if available) d) install the program: cp cpusage 3. Problems: If you are experiencing problems feel free to change the code or send me an email to fabian_at_net.in.tum.de (substitude "_at_" by the "@" sign). Happy monitoring 02.10.2005 Fabian Schneider