For a preview, see the PREVIEW.md file.
Sysmon is a system monitor that is ready to use and easy to understand. It utilizes Linux's /proc pseudo filesystem to read information and curses to display it. All you need to do is clone this repository and run the sysmon file.
- Display CPU information including model, temperature (1), frequency (2), cores (1), threads count, and cache memory size (1).
- Show memory information such as total, available, used (3), cached RAM, and swap information.
- Provide system load, entities, and uptime.
- Present the processes (6 by default) consuming the most VmRSS, including their state and name.
- Present network information such as device, transferred and received data, and speed.
-
Information reported might not be correct.
-
Frequency information may depend on the kernel and might not match the maximum frequency reported on the manufacturer's website.
-
There are two "used" columns because the calculations differ. "Actual used" represents a report similar to htop, while "used" equals MemTotal - MemAvailable.
Clone the repository:
git clone https://github.com/devlocalhost/sysmon
Navigate to the Sysmon directory:
cd sysmon
If Sysmon isn't executable, make it so:
chmod +x sysmon
Finally, run Sysmon:
./sysmon
To use Sysmon anywhere, you can create a symlink:
echo $(pwd)/sysmon | sudo tee /usr/local/bin/sysmon && sudo chmod +x /usr/local/bin/sysmon
This command will echo the current working directory + /sysmon
, create a new file named sysmon
in /usr/local/bin
with executable permissions. If /usr/local/bin
is in your PATH, then typing sysmon
anywhere will execute Sysmon.
Run sysmon --help
to display the help menu.
Please refer to the documentation.
Please open an issue, including the traceback and log file (sysmon -d
). A file named "sysmon.log" will be created in the current directory.
If you want to suggest a new feature or report incorrect data (e.g., CPU temperature or RAM usage), feel free to open an issue.
Many thanks to skyblueborb for helping to test, fix, and improve the CPU temperature feature.
Also, many thanks to ari for assistance with padding and text formatting.