How To Generate Top Stats?

Discussion in 'Apache' started by Dekker, Dec 8, 2005.

  1. #1
    apache/IIS version: apache 1.3.34
    PHP version: php 4.4.1
    MySQL version: mysql 4.1.13
    linux distributor or windows version: Special Virtuozzo Kernel (based on RHEL 3)



    the top stats looks like this (The admin generated it for me, but I'd like to be able to do it on my own as well)

    top - 00:23:57 up 2 days, 1:02, 0 users, load average: 0.83, 0.71, 1.02
    Tasks: 96 total, 1 running, 95 sleeping, 0 stopped, 0 zombie
    Cpu(s): 1.9% user, 0.5% system, 0.0% nice, 97.5% idle
    Mem: 3100892k total, 3085084k used, 15808k free, 263792k buffers
    Swap: 2040244k total, 1294104k used, 746140k free, 953064k cached
     
    Dekker, Dec 8, 2005 IP
  2. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #2
    Well, there's always the command 'top' to run while you have shell access. I use 'top' occasionally and I also use /server-status/ to give me the output for apache. There are other utlities like phpSysInformation (which can be found on sf.net) which gives you more detailed information. Worth checking out.
     
    fsmedia, Dec 8, 2005 IP
    Dekker likes this.
  3. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yeah.....i just tried typing top and it worked.

    i feel like a dumbass lol

    thanks :)
     
    Dekker, Dec 8, 2005 IP
  4. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #4
    I saw another application you may want to look at, something we recently installed. a program called 'mytop', if you're using MySQL it is worth looking at it.
     
    fsmedia, Dec 8, 2005 IP
  5. Dekker

    Dekker Peon

    Messages:
    4,185
    Likes Received:
    287
    Best Answers:
    0
    Trophy Points:
    0
    #5
    ah yeah i've heard of it....it works with vpsinfo right?
     
    Dekker, Dec 8, 2005 IP
  6. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #6
    Not sure, we only use mytop and top for those needs. I'll take a look at vpsinfo though.
     
    fsmedia, Dec 12, 2005 IP