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.

Server status update-able image?

Discussion in 'General Discussion' started by dark_hunter, Aug 22, 2009.

  1. dark_hunter

    dark_hunter Member

    Joined:
    Aug 17, 2009
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    1
    Is it possible to make a live image or code the status page to be shown on websites and forums such as vBulletin?
     
  2. Janak

    Janak Well-Known Member

    Joined:
    Jul 18, 2009
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    6
    This is not something related to cPanel. Please search in Google to get an exact idea.
     
  3. Kailash1

    Kailash1 Well-Known Member

    Joined:
    Nov 27, 2006
    Messages:
    252
    Likes Received:
    2
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Twitter:
    Using PHP exec function, you can do it.

    PHP:
    <?php
    $load 
    exec("uptime");
    $load split("load average:"$load);
    $load split(", "$load[1]);
    $load $load[0];
    echo 
    "Current Load: $load";
    ?>
    Kailash
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page