Ever wondered how your windows-based web server, application server,
and database server are performing but you can't see them all at once?
The attached files contain a simple CPU monitoring program developed
using PythonCard that displays the CPU utilisation of up to four
systems. By design, the first system is the one from which the
monitor is launched (for me that is my PC) and the other three (or
less) are listed in the configuration file. You will need to edit the
configuration file to record the names of the systems you wish to
monitor and the application should work straight away.
The development was in Python 2.5.1 and PythoCard 0.8.2 and the Inno
Setup Compiler is version 5.1.11.
If you want an associated icon, edit the SystemMonitor.rsrc.py file on
line 10 to remove the leading ### and replace the *** YOUR ICON
FILENAME *** with the name of your icon file.
There is a setup.py file to create an executable and, as this is
expecting the name of the icon file, it will require editing before
setup can be run. When running the setup, I used the python setup.py
py2exe --bundle=2 command.
There is also an Inno Setup file SystemMonitor.iss that will require
some heavy modification for your program location and the icon file
name (again).
I hope it works on your system and that you find it useful. I expect
that it could be significantly improved, both in functionality and
implementation. However, it works well for me...
Russell
|