A library to monitoring system.
Project description
My System Monitor
A library to monitoring system.
Install
pip3 install mysystemmonitor
Using
In another script
from mysystemmonitor import mysystemmonitor
# mysystemmonitor(interval=2, nosystemload=False, nomemoryusage=False, nodiskusage=False)
monitor = mysystemmonitor()
print(monitor.system_load())
print(monitor.memory_usage())
print(monitor.disk_usage())
#or you can use monitoring
monitor.run()
In command line
mysystemmonitor run
parameters:
mysystemmonitor run --interval 1 --nosystemload False --nomemoryusage False --nodiskusage False
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mysystemmonitor-0.2.1.tar.gz
(2.8 kB
view hashes)