Linux activity monitor
Key Features β’ Getting Started
Key features
Graphical visualization of the following data:
-
CPU utilization and per core clock speed
-
GPU utilization and clock speed (so far only Nvidia). Should work with multiple GPUs (not tested)
-
Memory and Swap utilization
-
Network utilization (Wlan and Ethernet). Wlan link bandwidth is constantly updated.
-
HDD/SSD utilization.
You can also see an overview of running processes.
Getting Started
I wanted to have a graphical visualization of the load of most physical devices. The system monitor in ubuntu does a great job, but is not displaying HDD and SDD load as well as no GPU load. This tools brings all the information together to one place, similar to task manager in windows.
1. Installation and run
Just simply
pip install sysmon
To run the program, just simply run in your cmd line
sysmon
If you want to monitor your Nvidia GPU, nvidia-smi has to be installed.
Probably you want some shortcut, you can do this with alacarte.
2. Data origin
Most data comes from the /proc directory.
In more detail:
- CPU: /proc/cpuinfo and /proc/stat
- Memory: /proc/meminfo
- Disks: /proc/diskstats
- Network: /proc/net/dev and iwconfig(Wlan)
- GPU: nvidia-smi (if Nvidia GPU)
- Processes: 'ps -aux'
I this choice of data source makes the program usable across multiple linux distributions. (Only tested on Ubuntu 18.04 and 20.04)
3. To do
-
Include support for Intel and AMD GPUs. I don't have any of these GPUs, so unfortunately I can't test it. Maybe I can get my hands on any of these GPUs in the future.
-
Add more information about Wlan connection. (Signal strength etc.)
-
Maybe add public and private IP address somewhere
-
Add more GPU information (Process overview)
-
Add GUI menu to modify parameters such as update interval, capture period etc.
-
Add iowait for each CPU core
-
Add more detailed Memory information (buffer and cache)
-
CPU clock: Sometimes clock for threads on same physical core differ --> I think this is in reality not possible. Maybe calculate average per physical core. Also group threads belonging to the same physical core together and "bond" visually.
-
Add dark mode
-
Make a C/C++ port (probably lower hardware requirements, even though CPU load is low.)
-
Remove Swap entry if no swap is used
-
Remove 'ps -aux' references
-
Add kill button and sort
License
Please see LICENSE file.