Skip to main content

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


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)

Uploaded Source

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