How to troubleshoot a hanging Linux machine [closed]

Solution 1:

You can

  • check /var/log/messages for hints,
  • analyze sar -A output,
  • take a look at vmstat,
  • iotop,
  • dstat

For really bad lockups, you also have the Magic SysRq key to squeeze some info from the system.

Other places to look is the CMDB, see if there are any previous problems logged with the server and if there is an accepted workaround and or planned problem fix. You can even ask coworkers. There is more to a job than just technical prowess.