Skip to main content

Monitors the system whilst executing a given program

Project description

Author: Colin Howe (@colinhowe)

License: Apache 2.0

About

Allows you to monitor the CPU, memory and network usage when running a program.

Output is tab-separated for easy loading into spreadsheet programs.

Installation

Install from pypi:

pip install monner

Install from source:

python setup.py install

Run:

monner --target-output /dev/null wget http://www.google.com

The option –target-output will redirect stdout and stderr for the target program.

Sample output:

CPU (%)     Memory used (mb)        Network in (kb) Network out (kb)
   99.5               3470.4                    1.2              0.0
  100.0               3470.9                   50.7              0.0
  100.0               3470.8                    2.2              0.0

If you need command line arguments for the target:

monner -- wget -V

Fields Available

There are multiple fields available to monitor. Including: CPU usage, memory usage, network usage, disk usage and more. For the full list see monner -h

Feedback

Feedback is always welcome! Github or twitter (@colinhowe) are the best places to reach me.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

monner-0.5.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

monner-0.5.0-py2.7.egg (3.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page