vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Microstats - load times, server loads, queries, uncached templates (https://vborg.vbsupport.ru/showthread.php?t=82900)

Christine 06-23-2005 12:58 AM

Thanks for the port SA -- flawless install and working like a champ.

:)

sHORTYWZ 06-23-2005 03:24 AM

Quote:

Originally Posted by ShiningArcanine
Wow, that was a quick response. You responded before I edited my post. ^_^;;

Would you be able to give me me those specifics? They might be helpful in figuring out why you're seeing what you're seeing.

PHP 4.3.11
MYSQL 4.1.8
Linux

I'm just quite perplexed as to why these two forums, hosted on the same box display differently.. for some reason both parts of the if statement are being executed on the second forum.

DBs 06-23-2005 08:34 AM

I too get the same, both parts of the load statement get executed and displayed.

TrentTech 06-23-2005 10:10 AM

/me installs

Thanks SA!

Megatekno 06-23-2005 03:56 PM

Thank ShiningArcanine

MentaL 06-28-2005 01:20 PM

gr8!!

EvilHawk 06-29-2005 11:51 AM

Nice plugin!

To display the load average at a freeBSD server I had to replace this
Code:

if ($loadavg = @file_get_contents("/proc/loadavg")) {
       
                $regs = explode(" ",$loadavg);

With this
Code:

$loadavg = `sysctl vm.loadavg|cut -d" " -f3-5`;
if ($loadavg)
 {
                        $regs = explode(" ",$loadavg);

this should also work at netbsd & openbsd servers! ;)

akanevsky 07-11-2005 11:13 AM

Screenshots please?

akanevsky 07-11-2005 11:23 AM

Quote:

EvilHawk
I think you could also make a conditional that would execute one code if it is *BSD, and another code if it is *nix, couldn't you? It's displayed by the phpinfo() function, however I'm not sure how to retrieve it by a custom script. Could probably use a system command?

Dream 07-11-2005 07:06 PM

this is great, the only thing that annoys me is it show up in places like the "attach manager" window and messes with the layout.


All times are GMT. The time now is 07: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.01415 seconds
  • Memory Usage 1,734KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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