Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

monner

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 monner.py
Octocat-spinner-32 setup.py
README.rst

Monner

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.

Something went wrong with that request. Please try again.