The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Monitor CPU / Memory usage

Discussion in 'General Discussion' started by ctbhost, Jul 19, 2004.

  1. ctbhost

    ctbhost Well-Known Member

    Joined:
    May 31, 2002
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16
    hi all,

    can anyone recommend a way to report on the server CPU usage/load and the overall memory used at a particular time.

    the reason i want this is to run a report say every 5 mins to be able to see what the server peak times and low usage times are.

    any ideas would be great.
     
  2. netwrkr

    netwrkr Well-Known Member

    Joined:
    Apr 12, 2003
    Messages:
    203
    Likes Received:
    0
    Trophy Points:
    16

    vmstat ; iostat ; sar
     
  3. ctbhost

    ctbhost Well-Known Member

    Joined:
    May 31, 2002
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16

    sar looks like a good option shows cpu every 10 mins - that is good

    but everytime i run vmstat and iostat i get the same result ?? what are these showing me ??
     
  4. SarcNBit

    SarcNBit Well-Known Member

    Joined:
    Oct 14, 2003
    Messages:
    1,010
    Likes Received:
    3
    Trophy Points:
    38
    Damn people!

    Learn to love the man command. It is your friend.

    man vmstat
    man iostat

    If you do not have access to a *nix server and are just curious as to what the commands are, run a google search on man <command>. There are dozens of sites that link that info to the web.
     
  5. ctbhost

    ctbhost Well-Known Member

    Joined:
    May 31, 2002
    Messages:
    139
    Likes Received:
    0
    Trophy Points:
    16

    MAN i love it - tried --help and couldnt work it out - forgot about the man command

    thanks - im learning
     
Loading...

Share This Page