How Do I Check the Load on a Server

Discussion in 'Databases' started by wd_2k6, Jul 23, 2009.

  1. #1
    Hi,

    How can I check out simple things like how much load is being put on a server from my scripts ?
     
    wd_2k6, Jul 23, 2009 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    Can you define load (Processor usage, RAM usage, total # of processes, etc.)

    Also, what program/method do you want to use to find this information? Command line, through PHP, or something else?
     
    jestep, Jul 23, 2009 IP
  3. mioot

    mioot Peon

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    use this command in SSH

    psa -fax
     
    mioot, Jul 25, 2009 IP
  4. findonline

    findonline Peon

    Messages:
    149
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You can also to a "top" command to see how many processes are running and which ones are causing the most bottleneck
     
    findonline, Jul 30, 2009 IP
  5. Janak

    Janak Peon

    Messages:
    68
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If you have a linux server then you can use "top -c" command via SSH to see the running processes on your linuxserver.

    In advance, use ps -auxf httpd (it will show you all the running httpd processes).

    You can kill unwanted processes using kill -9 processID
     
    Janak, Jul 31, 2009 IP