Server Load ??

Discussion in 'Site & Server Administration' started by pixads, Feb 3, 2007.

  1. #1
    How can I find out which site on a dedicated server loads the most.

    It's a FreeBSD server
     
    pixads, Feb 3, 2007 IP
  2. Brokentwo

    Brokentwo Peon

    Messages:
    70
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Are you using cPanel?
     
    Brokentwo, Feb 7, 2007 IP
  3. drionix

    drionix Peon

    Messages:
    189
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yeah good question. Is there any FreeBSD or Linux application we can use to tell which application or file (especially WebApplications) that consumes too much CPU and memory Usage? Just like the Task Manager in Windows Servers.
     
    drionix, Feb 8, 2007 IP
  4. Brokentwo

    Brokentwo Peon

    Messages:
    70
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Generally the "top" command works great.... But if you have cPanel you can see exactly which user and what file is using x amount of resources...
     
    Brokentwo, Feb 8, 2007 IP
  5. pixads

    pixads Well-Known Member

    Messages:
    2,015
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    145
    #5
    no cPanel :(
     
    pixads, Feb 8, 2007 IP
  6. niloy

    niloy Banned

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    There is a software called Apache Log Tail. To find out which site is taking high load and bandwidth you need to use some software which can drag the informations from apache to you. Top command can only identified which command is taking high load and who is the owner of the command.
     
    niloy, Feb 8, 2007 IP
  7. drionix

    drionix Peon

    Messages:
    189
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #7
    But the "Top" command somtimes consumes high amount of resource too, unlike the "Task Manager" of Windows Servers. :(
     
    drionix, Feb 8, 2007 IP
  8. krakjoe

    krakjoe Well-Known Member

    Messages:
    1,795
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    135
    #8
    krakjoe, Feb 8, 2007 IP
  9. Brokentwo

    Brokentwo Peon

    Messages:
    70
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Untrue.

    Yes, it consumes some resources, but you only run it while you're logged into SSH, from there you can see what process is hogging the CPU.

    Windows Task Manager uses plenty of resources, my CPU always spikes when I use it...
     
    Brokentwo, Feb 8, 2007 IP
  10. drionix

    drionix Peon

    Messages:
    189
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Well I'm not going to argue about this. :D But is there any way for us to track if a certain PHP file (like test.php) is making your CPU spike? I believe we can only see the Web Server like Apache, mysql, etc in "Top" and "ps-aux".
     
    drionix, Feb 9, 2007 IP