The executable perfmonitor will be renamed perfcollector to make it easier to distinguish the separate roles of each program. perfcollector will be a daemon that establishes a performance configuration and collects the numbers, while perfmonitor will be a daemon that monitors the collected stats at periodic intervals, looking for trends and triggering responses on thresholds.
perfcollector is nearing a 0.1 state, which for this project means it is ready to earn "alpha" status, meaning feature complete but most likely quite buggy. Considering that I just started a new job, development may slow, but I plan on getting as much done on converting the class and file structures ready to be split up and more efficiently done.
- per device *and* per statistic filtering now working. you can just grab txrate from eth0 and rd_sector from sdd sda2 or everything too
- seperate csv output for each device type, to be expanded to system devices in upcoming releases
perfmonitor-0.0.5 has been uploaded and extends on the svn release with the ability to output the csv data to the console (for piping to other programs), or to output to a file. The monitor.config file has been updated with a variable for devices, so that this output can be filtered so only the "useful" data shows up.
Overhaul of device classes with creation of parent class Device and both storage and network inherit most of their methods/vars from this, making everything much more OO-good.
This release features working "console" mode and "daemon" mode, where you can have csv output to the screen or to a file. Currently device is not filterable, you're getting all "disk" and "net" devices.
Next release should include filterable device listings and additional network / storage counters.
Just checked in latest merges which overhauls device detection and adds storage device support to the libraries, and output basic "sd*" storage device counters when perfmonitor is run with the --no-daemon option (just as a test case, this will be overhauled when "console" mode is started at later phases).
Pre-alpha release.
Includes basic support for logging tx/rx rate on network adapters to csv, daemonize mode supported. Bug report and feature requests welcome.