Qaviton Monitors
at the moment this library contains a simple monitoring script
for measuring:
- memory
- disk
- cpu
- running processes
- network bandwidth
Installation
pip install --upgrade qaviton_monitors
Requirements
- Python 3.6+
Features
- simple monitor script ✓
- (more features might be added on demand) *
Usage
activating simple monitor script
# app.py
from qaviton_monitors.simple_monitor import monitor
monitor()
Press Enter to stop monitoring
======================== Monitor ========================
Last Boot: 'boot_time'
System Uptime: 'uptime'
CPU Cores cpu_count
MEMORY total mGB | used mGB | free mGB
DISK total dGB | used dGB | free dGB
%(asctime)s | CPU n% MEMORY n% DISK n% Running Processes n NetIO i:o GBs
%(asctime)s | CPU n% MEMORY n% DISK n% Running Processes n NetIO i:o GBs
%(asctime)s | CPU n% MEMORY n% DISK n% Running Processes n NetIO i:o GBs