How to check CPU/Memory/Disk Space on a server

Here are the commands you can use to check your CPU, memory, and disk usage on a web server –

  • df -h : disk space available for all file system
  • du -csh <directory path> : to see space occupied by a directory
Scroll to Top