pydstat

A Pythonic Wrapper for pidstat.


License
Apache-2.0
Install
pip install pydstat==1.0.1

Documentation

A Pythonic wrapper for pidstat.

Collects and returns process stats in syslog format.

https://secure.travis-ci.org/ampledata/pydstat.png

Usage

  1. Create crontab to run periodically:

    */5 * * * * /usr/local/bin/pydstat
    
  2. Use Splunk to collect logs.

Source

https://github.com/ampledata/pydstat

Author

Greg Albrecht <gba@splunk.com>

Copyright

Copyright 2011 Splunk, Inc.

License

Apache License 2.0