Announcement

Collapse
No announcement yet.

Server load level display on admincp gone?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [Forum] Server load level display on admincp gone?

    Hi Guys,

    I'm having a problem with my hosting and I've noticed over the past couple of months the load level indication on the admincp has gone.

    Is this something VB has done in an update or something my host is doing?

    Thanks.

  • #2
    I think it depends on your hoster, I observed the same on one of my sites with a cheaper hosting plan. But maybe a staff can explain it in more detail.
    .......

    Comment


    • #3
      Yep possibly your hosting has been downgraded

      Comment


      • #4
        You can check that:

        PHP Code:
        <?php
        //GET SERVER LOADS
        $loadresult = @exec('uptime');
        preg_match("/averages?: ([0-9\.]+),[\s]+([0-9\.]+),[\s]+([0-9\.]+)/",$loadresult,$avgs);

        //GET SERVER UPTIME
        $uptime explode(' up '$loadresult);
        $uptime explode(','$uptime[1]);
        $uptime $uptime[0].', '.$uptime[1];
        $data .= "Server Load Averages $avgs[1]$avgs[2]$avgs[3]\n";
        $data .= "Server Uptime $uptime";
        echo 
        $data;
        ?>
        Copy that code in notepad, and save as php file.
        Upload it to your forum root and type in explorers adressbar :

        www.yourforum.com/yourfile.php

        If you see nothing, previous answers are corect

        Comment


        • #5
          The server loads will not show if you have open_basedir enabled in php.ini since it can't access /proc/loadavg.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment

          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
          Working...
          X