Very simple monitoring utility, that monitors any processes you'd like. It measures a few of the main resources and characteristics, like memory, cpu usage, number of threads.
It's curses based, and uses the psutil module as a backend.
The repository includes a buildout.cfg
file, so that the application can be built as a standalone script, and run from the console.
Install by:
git clone git@github.com:stargazer/monitproc.git
cd monitproc
python bootstrap.py -d
bin/buildout
Now you can use the tool by running:
bin/monitproc <proc1> <proc2> <...>
- Rewrite the whole
metrics.py
andpresentation.py
modules - Document the measurements that I take
- Are there more useful measurements to take?
- Make it more flexible, in the sense that different kinds of processes can be measured... based on name, pid, etc
- On top of the screen, print system information... CPU freq, total memory, swap space, etc