Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/colinhowe/monner
monner
https://github.com/colinhowe/monner
Last synced: 11 days ago
JSON representation
monner
- Host: GitHub
- URL: https://github.com/colinhowe/monner
- Owner: colinhowe
- License: apache-2.0
- Created: 2012-08-12T12:44:43.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2020-10-23T09:12:10.000Z (about 4 years ago)
- Last Synced: 2024-09-22T00:45:10.204Z (about 2 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 270
- Watchers: 31
- Forks: 18
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
======
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.
Requirements
============It requires Python Version 3.3+. Python development headers. For example, in Ubuntu install this with `sudo apt-get install libpython-dev`.
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.0If 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.