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 details)

Uploaded Source

Built Distribution

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

Uploaded Source

File details

Details for the file monner-0.5.0.tar.gz.

File metadata

  • Download URL: monner-0.5.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for monner-0.5.0.tar.gz
Algorithm Hash digest
SHA256 3172a77dca85e08e4402a0f849349f457b44352c84e17e7afb259ece699de37b
MD5 daafeb0c3f15386d1d4b20afff2e84f0
BLAKE2b-256 f157422d346c8c51528d20caaad7e14c747cc6a5bb42b3c067b4b870fcc44778

See more details on using hashes here.

Provenance

File details

Details for the file monner-0.5.0-py2.7.egg.

File metadata

  • Download URL: monner-0.5.0-py2.7.egg
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for monner-0.5.0-py2.7.egg
Algorithm Hash digest
SHA256 60d9ef7c90bc8ef960220cdb7d5d3a9ca8e852121785204bbd8bfba7c3a94e3f
MD5 5465476b47352de87e4d4f9baad58c08
BLAKE2b-256 d986d095c8ce164c713efffccd6a0b1c76e8683ca75b51d2fd1095dea46a571e

See more details on using hashes here.

Provenance

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