How to view the processes and resource usage on my VPS
Glances
Glances is a cross-platform curses based monitoring tool which is used to see the process and resources usage. It provides the monitoring details of following:
- CPU
- Memory
- Load
- Process list
- Network interface
- Disk I/O
- Raid
- Sensors
- Filesystem
- Docker
- Monitor
- Alert
- System info
- Uptime
To install the Glances on your VPS, please user the following command.
On Ubuntu/Debian
sudo apt-get update -y
sudo apt-get install glances -y
On CentOS/Fedora
sudo yum update -y
sudo yum install glances -y
To check the monitor the server using Glances run the following command:
glances
Output will look like following:
HTOP
It is use to determine the cause of load by each process. It is similar to task manager in Windows Environment.
To install the htop on your server, please use following commands.
On Ubuntu/Debian
sudo apt-get update -y
sudo apt-get install htop -y
On CentOS/Fedora
sudo yum update -y
sudo yum install htop -y
To check the monitor the server using HTOP run the following command:
htop
Output will look like following: