Logo
  • Ubuntu
  • CentOS
  • Debian
  • Fedora
  • RedHat

Sysmon – A Graphical System Activity Monitor for Linux - DesignLinux

Nov 25 2020
designlinux 0 Comments

Sysmon is a Linux activity monitoring tool similar to Windows task manager, was written in Python and released under GPL-3.0 License. This is a Graphical visualization tool that visualizes the following data.

By default distribution like Ubuntu comes with a system monitor tool, but the drawback with the default monitor tool is it does not display HDD, SSD, and GPU loads.

Sysmon adds all the features to a single place similar to the Windows Task Manager.

  • CPU/GPU utilization and per-core clock speed.
  • Memory and Swap utilization.
  • Network utilization (Wlan and Ethernet). WLAN link bandwidth is constantly updated.
  • SSD/HDD utilization.
  • Overview of a running process.

In this article, you will learn how to install and use the Sysmon monitoring tool in Linux desktop systems.

Installing Sysmon Linux Monitor Tool

Since sysmon is written in python, you need to have a python package manager PIP setup in your machine. Sysmon depends on the following packages pyqtgraph, numpy, and pyqt5.

Install Sysmon Using PIP

When you install the sysmon using PIP dependencies are automatically installed.

$ pip install sysmon   [for Python2]
$ pip3 install sysmon  [for Python3]
NOTE: Depending upon how you configured PIP you need to use PIP or PIP3, sometimes PIP3 will be a symbolic link to PIP.
Install Sysmon in Linux
Install Sysmon in Linux

If you have an Nvidia GPU, nvidia-smi has to be installed to monitor it.

Install Sysmon Using GitHub Repo

Alternatively, you can pull the repository from Github and install the package. But when following this method you have to make sure the dependent package (numpy, pyqtgraph, pyqt5) is installed separately.

$ pip install pyqtgraph pyqt5 numpy   [for Python2]
$ pip3 install pyqtgraph pyqt5 numpy  [for Python3]

You can check the list of installed packages from pip using the following commands.

---------- Python 2 ---------- 
$ pip list                       # List installed package
$ pip show pyqt5 numpy pyqtgraph # show detailed information about packages.

---------- Python 3 ----------
$ pip list                       # List installed package
$ pip show pyqt5 numpy pyqtgraph # show detailed information about packages.
List Pip Installed Packages
List Pip Installed Packages

Now the dependency is satisfied and good to install sysmon by cloning the repo from GitHub.

$ git clone https://github.com/MatthiasSchinzel/sysmon.git
$ cd /sysmon/src/sysmon
$ python3 sysmon.py

The preferable method is to install packages using PIP, as PIP handles all the dependency and keeps the installation simple.

How to Use Sysmon in Linux

To launch sysmon, simply type sysmon at the terminal.

$ sysmon

All the data points are grabbed from the /proc directory.

  • CPU data are grabbed from /proc/cpuinfo and /proc/stat.
  • Memory data are grabbed from /proc/meminfo.
  • Disks data are grabbed from /proc/diskstats.
  • Network data are grabbed from /proc/net/dev and iwconfig (Wlan).
  • Processes data are grabbed from the ‘ps -aux’ command.
Sysmon Linux Process Monitor
Sysmon Linux Process Monitor
Sysmon Linux Network and Disk Monitor
Sysmon Linux Network and Disk Monitor
Sysmon Linux CPU and Memory Monitor
Sysmon Linux CPU and Memory Monitor

That’s it for this article. This tool is just a prototype and many more features like IOWait, Support for Intel and AMD GPU, Dark Mode, kill the process, sort, etc.. are in the pipeline to be added. Let’s wait and see how this tool is getting matured over a period of time.

Related

Tags: Fedora Tips, Linux Desktop Monitoring Tools, Ubuntu Tips

How to Configure Static IP Address on Ubuntu 20.04

Prev Post

How to Convert Integer into String in Python

Next Post
Archives
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
Categories
  • AlmaLinux
  • Android
  • Ansible
  • Apache
  • Arch Linux
  • AWS
  • Backups
  • Bash Shell
  • Bodhi Linux
  • CentOS
  • CentOS Stream
  • Chef
  • Cloud Software
  • CMS
  • Commandline Tools
  • Control Panels
  • CouchDB
  • Data Recovery Tools
  • Databases
  • Debian
  • Deepin Linux
  • Desktops
  • Development Tools
  • Docker
  • Download Managers
  • Drupal
  • Editors
  • Elementary OS
  • Encryption Tools
  • Fedora
  • Firewalls
  • FreeBSD
  • FTP
  • GIMP
  • Git
  • Hadoop
  • HAProxy
  • Java
  • Jenkins
  • Joomla
  • Kali Linux
  • KDE
  • Kubernetes
  • KVM
  • Laravel
  • Let's Encrypt
  • LFCA
  • Linux Certifications
  • Linux Commands
  • Linux Desktop
  • Linux Distros
  • Linux IDE
  • Linux Mint
  • Linux Talks
  • Lubuntu
  • LXC
  • Mail Server
  • Manjaro
  • MariaDB
  • MongoDB
  • Monitoring Tools
  • MySQL
  • Network
  • Networking Commands
  • NFS
  • Nginx
  • Nodejs
  • NTP
  • Open Source
  • OpenSUSE
  • Oracle Linux
  • Package Managers
  • Pentoo
  • PHP
  • Podman
  • Postfix Mail Server
  • PostgreSQL
  • Python
  • Questions
  • RedHat
  • Redis Server
  • Rocky Linux
  • Security
  • Shell Scripting
  • SQLite
  • SSH
  • Storage
  • Suse
  • Terminals
  • Text Editors
  • Top Tools
  • Torrent Clients
  • Tutorial
  • Ubuntu
  • Udemy Courses
  • Uncategorized
  • VirtualBox
  • Virtualization
  • VMware
  • VPN
  • VSCode Editor
  • Web Browsers
  • Web Design
  • Web Hosting
  • Web Servers
  • Webmin
  • Windows
  • Windows Subsystem
  • WordPress
  • Zabbix
  • Zentyal
  • Zorin OS
Visits
  • 0
  • 26
  • 1,054,743

DesignLinux.com © All rights reserved

Go to mobile version