In this section, we will explore a useful set of Ubuntu Server administration tasks such as monitoring and processes management.
For a system administrator, monitoring tasks are the most important because they allow us to keep our system robust and prevent incidents. The Ubuntu Server has a powerful set of monitoring tools that cover CPU usage, hard disks, virtual memory, and so on.
Some tools come with Ubuntu straight out of the box, while others need to be installed. The sysstat
package contains some of them. You need to install it by using the command:
sudo apt-get install sysstat
One of the most important resources that an Ubuntu Server administrator should permanently monitor is the memory use, because running out of memory will negatively affect system performance.
You can use the free
and top
commands to see basic information about the use of your RAM and swap. To get more detailed information about your server memory...