vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Extended! Server Load Averages (https://vborg.vbsupport.ru/showthread.php?t=53498)

ImportPassion 06-02-2003 12:17 AM

Quote:

05-29-03 at 02:45 PM WoodiE said this in Post #7
I've installed this and this is what my server load shows:

0%, %, % 21 users online (14 members & 7 guests).


How can it be 0%, nothing% nothing%?


-WoodiE

I still get this. Oh well. no biggie.

mlevenson 06-02-2003 12:40 AM

if you find out let me know as I have the same problem.

Preech 06-19-2003 09:25 AM

i get the same error ^^

Bison 06-19-2003 09:06 PM

Is this is one of those hacks that can be used only on dedicated servers which allows you to retrieve information from the root directory folders?

shovel 06-20-2003 01:21 PM

Nope. Any server can handle it.

Nixpeiler 06-26-2003 04:45 AM

perhaps it is version a problem ?
on version 2.3.0 is this line
PHP Code:

preg_match("/averages?: ([0-9\.]+),[\s]+([0-9\.]+),[\s]+([0-9\.]+)/",$stats,$regs);
echo 
"<tr class=\"secondalt\"><td><a href=\"http://nscp.upenn.edu/aix4.3html/cmds/aixcmds4/ruptime.htm\" target=\"_blank\">Server Load Averages</a></td><td><b><span title=\"CPU Usage 1 Minute Ago At $regs[1]\">$regA1%</span>, <span title=\"CPU Usage 5 Minute Ago At $regs[2]\">$regA2%</span>, <span title=\"CPU Usage 15 Minute Ago At $regs[3]\">$regA3%</span></b> $onlineusers</td></tr>\n";
}
?> 

does not existent

in version 2.3.0 is it this
PHP Code:

    preg_match("/averages?: ([0-9\.]+),[\s]+([0-9\.]+),[\s]+([0-9\.]+)/",$stats,$regs);
    echo 
"<tr class=\"secondalt\"><td>Server Load Averages</td><td><b>$regs[1]$regs[2]$regs[3]</b> $onlineusers</td></tr>\n";
}
?> 

and if I exchange it i have resembles error


mfg

msimplay 08-09-2003 07:29 PM

tru i got the same as u Nixpeller

Dodger 08-13-2003 01:49 PM

Nixpeiler
Yes, may be a version problem. In txt file is written:
PHP Code:

Find Around Line120
------------------------------

preg_match("/averages?: ([0-9\.]+),[\s]+([0-9\.]+),[\s]+([0-9\.]+)/",$stats,$regs);
echo 
"<tr class=\"secondalt\"><td><a href=\"http://nscp.upenn.edu/aix4.3html/cmds/aixcmds4/ruptime.htm\" target=\"_blank\">Server Load Averages</a></td><td><b><span title=\"CPU Usage 1 Minute Ago At $regs[1]\">$regA1%</span>, <span title=\"CPU Usage 5 Minute Ago At $regs[2]\">$regA2%</span>, <span title=\"CPU Usage 15 Minute Ago At $regs[3]\">$regA3%</span></b> $onlineusers</td></tr>\n";
}
?> 

but in ver. 2.3.0 it's only:
PHP Code:

    preg_match("/averages?: ([0-9\.]+),[\s]+([0-9\.]+),[\s]+([0-9\.]+)/",$stats,$regs);
    echo 
"<tr class=\"secondalt\"><td>Server Load Averages</td><td><b>$regs[1]$regs[2]$regs[3]</b> $onlineusers</td></tr>\n";
}
?> 

Can one find the sollution to this problem?


All times are GMT. The time now is 08:41 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01123 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete