Script to monitor high server load? Maybe output top with script?

Discussion in 'Site & Server Administration' started by justsomepoordude, Aug 15, 2006.

  1. #1
    Need something like that.
     
    justsomepoordude, Aug 15, 2006 IP
  2. Cryogenius

    Cryogenius Peon

    Messages:
    1,280
    Likes Received:
    118
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Read the man page for top and check the options - there's one designed for console output.

    Alternatively, you can read the contents of /proc/loadavg, and display the exact information you want...

    Cryo.
     
    Cryogenius, Aug 15, 2006 IP