Wtop is a lightweight web-based system monitor made with Python and aiohttp.
/stats.json
sample output:
{
"cpu": {
"cpu_count": 2,
"thread_count": 4,
"utilization": {
"overall": 8.3,
"per_cpu": [
4.5,
0,
9.2,
1.5
]
}
},
"memory": {
"total": 17024741376,
"available": 8209461248,
"percent": 51.8,
"used": 8815280128,
"free": 8209461248
}
}
/ or /stats.html
The data on the page is updated in real time via a websocket.
/stats.ws
When receiving a connection, wtop sends data in the json format shown above every second
>> git clone https://github.com/1ort/wtop.git
>> cd wtop
>> poetry install
>> poetry run python -m wtop
- Unit-tests
- View active processes
- User authentication
- Disk info