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 details)
File details
Details for the file mysystemmonitor-0.2.1.tar.gz
.
File metadata
- Download URL: mysystemmonitor-0.2.1.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9529e3e0e4b96ae8dd8f09caf580f69b7a6313a0f444688a7a1734aa39404a96 |
|
MD5 | 5335685d92b5fd815c19f5f7881a0333 |
|
BLAKE2b-256 | 7a6a444a2c5dff9f7141d7575fbe03b2905f6f0eba2dea1c34862e50e0145ef7 |