Indicator-SysMonitor does a little, but does it well. Once installed and run, it displays CPU and RAM usage on your top panel. Simple.
One of my personal favourites
Screenlet you’ll find a bunch of differently styled CPU and RAM monitors included in the screenlets-all package available in the Ubuntu Software Center.
Displays information about CPU, memory, processes, etc.
This command line tool will display statistics about your CPU, I/O information for your hard disk partitions, Network File System (NFS), etc. To install iostat, run this command:
To start the report, run this command:
To check only CPU statistics, use this command:
For more parameters, use this command:
The mpstat command line utility will display average CPU usage per processor. To run it, use simply this command:
For CPU usage per processor, use this command:
Saidar also allows to monitor system device activities via the command line.
You can install is with this command:
To start monitoring, run this command:
Stats will be refreshed every second.
GKrellM is a customizable widget with various themes that displays on your desktop system device information (CPU, temperature, memory, network, etc.).
To install GKrellM, run this command:
Monitorix is another application with a web-based user interface for monitoring system devices.
Install it with these commands:
Start Monitorix via this URL:
Glances are good. What it shows me is sometimes some critical logs. WHere to find whats the problem? Where are thouse logs? WARNING|CRITICAL logs (lasts 9 entries) 2016-03-23 19:09:48 2016-03-23 19:09:54 CPU user (72.7/76.6/80.6) 2016-03-23 19:09:28 2016-03-23 19:09:32 CPU IOwait (62.5/62.5/62.5) 2016-03-23 19:08:45 2016-03-23 19:08:48 CPU user (86.3/86.3/86.3)
2016-03-23 19:08:16 ___________________ LOAD 5-min (1.0/1.1/1.2) – Top process: php5-cgi 2016-03-23 19:08:09 2016-03-23 19:08:19 CPU IOwait (74.3/74.6/75.0) Kangarooo Mar 23 ’16 at 17:09
Following are the tools for monitoring a linux system
- System commands like top. free -m. vmstat. iostat. iotop. sar. netstat etc. Nothing comes near these linux utility when you are debugging a problem. These command give you a clear picture that is going inside your server
- SeaLion. Agent executes all the commands mentioned in #1 (also user defined) and outputs of these commands can be accessed in a beautiful web interface. This tool comes handy when you are debugging across hundreds of servers as installation is clear simple. And its FREE
- Nagios. It is the mother of all monitoring/alerting tools. It is very much customization but very much difficult to setup for beginners. There are sets of tools called nagios plugins that covers pretty much all important Linux metrics
- Server density: A cloudbased paid service that collects important Linux metrics and gives users ability to write own plugins.
- New Relic: Another well know hosted monitoring service.
answered Nov 20 ’13 at 13:30
top is monitoring Software, listing all the processes with CPU/RAM usage, Overall CPU/RAM usage and more Also it’s mostly installed by default
htop is like an extended version of top. It has all the features from above, but you can see child processes and customize the display of everything. It also has colors.
iotop is specifically for Monitoring Hard rive I/O It lists all processes and shows their Hard drive usage for read and write.
answered May 10 ’13 at 10:43
where is heat monitoring. and in your answer you have already included 3 utilities. check the question **i am looking for a single tool that has some basic function ** Qasim May 10 ’13 at 10:54
With the three tools I am just giving different options for the OP, but I am dissapointed to say that none of those have heat monitoring BeryJu May 10 ’13 at 10:59
You might want to try sysmon. Although not as fancy as Glances, it is very straightforward and easy to use.
If you want to get dirty and do a little scripting in python, here are some basics of system monitoring with Python to get you started.
You’ll need an external module called psutil to monitor most things. It’s easiest to use an external module installer instead of building from source.
Note: These examples are written in Python 2.7
Now that we have the modules installed, we can start coding.
First, create a file called usage.py .
Start by importing psutil
Then, create a function to monitor the percentage your CPU cores are running at.
Let’s break that down a bit, shall we?
The first line, cpu_num = psutil.cpu_percent(interval=1, percpu=True). finds the percentage that the cores in your CPU are running at and assigns it to a list called cpu_perc .
This loop right here
is a for loop that prints out the current percentage of each of your CPU cores.
Let’s add the RAM usage.
Create a function called ram_perc .
psutil.virtual_memory gives a data set containing different facts about the RAM in your computer.
Next, you can add some facts about your network.
Since psutil.net_io_counters() only gives us information about packets sent and received in bytes, some converting was necessary.
To get some information about swap space, add this function.
This one is pretty straightforward.
Temperature is kind of hard to do, so you may need to do some research of your own to figure out what will work with your hardware. You will have to display the contents of a certain file.
Disk usage is a lot easier than temperature. All you need to do is to pass the disk you want to monitor (i.e: / ) through a certain function.
The original output of psutil.disk_usage is this,
but you can also just receive total. used. free. or percent .
The completed program: (the aforementioned functions were combined)
The line temp = open(“/sys/class/thermal/thermal_zone0/temp”).read().strip().lstrip(‘temperature :’).rstrip(‘ C’) might not work with your hardware configuration.
Run this program from the command line. Pass the disks you want to monitor as arguments from the command line.
Hope this helps! Comment if you have any questions.
Nagios seems to be the most popular and most customizable but I would not choose it for GUI.
Zabbix’s open source solution monitors everything you have mentioned as well as provides time-based graphs for performance monitoring.
If you are looking for an even cleaner GUI, check out Zenoss. Zenoss is an open-source, web-based tool, but offers service analytics and root cause analysis with its propriety tool.