Diagnosing a slow server - How to isolate high loads on Linux

Posted 2 years ago


A high load can be attributed to a few things, however I like to start by running the command “uptime” or “top” this returns values which show 1, 5 and 15 minute intervals and the average load at these points.



Dmesg usually offers little to no information but it helps reveal hardware and out of memory issues, it’s useful if this happens to be the issue and helps direct you early on. Dmesg is abbreviated for “Display message” or “Driver Message”


Vmstat/h2> “vmstate 1” prints out statistics every second based on the systems utilisation. The first line is an average since the system was booted.

vmstat 1