Monitoring resource utilization on Linux

This is a quick reference guide for tools to monitor resource utilization on Linux.

Top

A simple CLI utility to display CPU/memory on Linux. Use SHIFT+P to sort by CPU, SHIFT+M to sort by memory.

# top

Htop

Htop is a cleaner more graphical version of top with slightly different information. Install with “apt-get install htop” or “yum install htop”.

# htop

Gpustat

The gpustat command is useful for watching graphics card performance.

# gpustat