How to Check VPS Resource Usage

How to Check VPS Resource Usage

Monitoring your VPS resource usage helps you understand how much CPU, RAM, and disk space your server is using. This is useful for troubleshooting performance issues and ensuring your server runs smoothly.

Step 1: Connect to Your VPS via SSH

First, log in to your VPS using SSH:

ssh root@YOUR_VPS_IP

Enter your password when prompted.


Step 2: Check CPU and RAM Usage

You can view real-time CPU and memory usage using the following command:

htop

If htop is not installed, install it with:

apt update
apt install htop -y

This tool shows:

  • CPU usage

  • RAM usage

  • Running processes

Press Q to exit.


Step 3: Check Memory Usage

To quickly check RAM usage, run:

free -h

This command displays:

  • Total memory

  • Used memory

  • Free memory


Step 4: Check Disk Space Usage

To check how much disk space is used on your VPS, run:

df -h

This command shows:

  • Total disk space

  • Used space

  • Available space


Step 5: Check Running Processes

To see which processes are consuming resources, run:

top

This provides a real-time view of system processes and resource usage.


Useful Tips

  • Regularly monitor your VPS resources to avoid performance issues.

  • Remove unnecessary files if disk space becomes low.

  • Restart services that are consuming excessive resources if needed.


If you notice unusually high resource usage and need assistance, feel free to contact the Ateex Support Team.

Was this answer helpful?
0

Related Articles