Ubuntu Resource Monitor Tools

For the Linux command "top" often go to tools for system administrators that are useful for checking the health of the system. This display system information such as CPU load, memory usage, swap usage and top the list of processes. While there are also some other system monitoring tool that can complement and provide additional information for them to monitor the health of system Linux. The other is a System Monitoring Tool "htop", "iotop" and "glance", let's see directly below:

As the name suggests, the "htop" command is very similar to the "top", but instead of showing the list of processes as simple text output, which is limited by the size of the terminal, "htop" using the ncurses (text-based library for building user interface) and that allows horizontal and vertical scrolling. He also added a little color! If you don't have "htop" installed on your computer, then use for Ubuntu:

To install it on Ubuntu:
sudo apt-get install htop

To start the "htop" just type the command on your linux terminal:

The top screen shows text-based simple bar chart of the CPU, memory and swap usage along with some other information such as system uptime. Below is a list of processes running on the system, sorted by CPU usage. You can scroll the list up and down and left and right (to see the complete list of arguments for the process) by using the cursor keys.

Page Up and Page Down also works. To change the criteria, press "M" to sort based on memory and "T" to sort by time. Use the "P" will go back to sorting by CPU usage. Note that the command is case sensitive and that "P", "T" and "M" are all uppercase.

You can also choose the process that rendered with scrolling up and down and you can interact with the process using the "k" (to kill the process), "i" (to set the priority of the IO) and "l" for list of files opened by the process. If you start htop with sudo, you can use "[" or "]" to change the scheduling priority of the process. For more information, use the "h" to display help.
"iotop" is the command "top" for IO (Input and Output) operation of CPU usage and memory. It is useful to monitor the process of reading and writing to disk. The performance of certain services such as web servers or the database may be reduced when they become IO bound without necessarily limited by the CPU or the amount of memory available.

To install it on Ubuntu:
sudo apt-get install iotop

And to start it you can type the command in the terminal below:
sudo iotop

The first two lines "iotop" shows the disk reading and writing the bandwidth that is being used by the system and then the list of processes, ordered the use of IO. You can change the order by using the left and right cursor keys. The current sort column is displayed in bold. Use the "r" for reversing the order from down to up. Use "a" to change the disk reading and writing columns for the accumulation of IO and use "o" to reduce the list of processes.
"glances" is based on the ideas of "top", "htop" and "iotop" and aims to display the maximum amount of information in a minimum of space. As well as showing the current process list (sorted by CPU usage), it also displays disk IO bandwidth, network bandwidth and disk space usage on the system.

To install "glances" in Ubuntu, use:
sudo apt-get install glances

And to start it you must type the command on your linux terminal as below:

"glances" using color codes for limited resources. For example, when the process begins to consume too much CPU, it will be marked. List of processes can be sorted based on the use of memory and IO by pressing "m" and "i".

From the managed servers for web hosting Linux server at home or the Office, monitoring system is an important part of any system administrator and tools such as "htop", "iotop" and "glances" can complete commands like "top" and even help with process management as simple as killing tasks and change the priority of the process.

Click here for Comments