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.

Script to Display the current Server Load

Discussion in 'General Discussion' started by chican0, Mar 2, 2005.

  1. chican0

    chican0 Well-Known Member

    Joined:
    Mar 26, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Los Angeles
    Hello All.

    I am trying to either find or put together a php script to determine the current server load average and display it on a webpage viewable to the public. I ulitmately want to integrate it within PHPNUKE to automatically disable the phpnuke website when the server load is higher than a certain number.

    Does anyone have any information, advice, or guidance that may be able to help me.

    Your assistance would be greatly appreciated.
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
  3. chican0

    chican0 Well-Known Member

    Joined:
    Mar 26, 2003
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Los Angeles
    Frickin Awsome!

    Thanks for the fast response. Now I need to read up on some PHP.net and see how I can integrate it into phpnuke to do what I want.

    Thank you !
     
  4. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    BTW...you might want to re-upload your avatar as the forum moved servers last week and borked the images.
     
Loading...

Share This Page