vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - AP Lightweight Performance Statistics (https://vborg.vbsupport.ru/showthread.php?t=263910)

MarceloS 06-01-2011 10:32 PM

Quote:

Originally Posted by MarceloS (Post 2199541)
It shows on my site but not the averages. It stops at "(1:5:15)"

Is it an error?

Can anyone help me on this?

My server is LINUX. Latest version of the mod.

My board shows:
"Page generated in 0.12074 seconds with 20 queries [Server Load Averages (1:5:15)"

AusPhotography 06-01-2011 11:33 PM

@MarceloS You will need to see if either of the two methods are active for the Apache account.

I.e.
1. Can the file /proc/loadavg be accessed by the Apache account?
-or-
2. Does uptime run?

If neither work, then its a Linux permissions/shell problem.

If you are running security enhanced linux then you may need to adjust the security profile.

Kym

EasyEazy 06-01-2011 11:37 PM

Installed on 4.1.1 and working great.

Thanks

AusPhotography 06-02-2011 03:45 AM

Quote:

Originally Posted by doctorsexy (Post 2199913)
is it possible to have it a different colour..
what is it under in the stylevars....

Quote:

Originally Posted by Alan_SP (Post 2200052)
Could you phrase output of mod?

I've phrased it so you can more easily change the words and/or colours etc.
It uses the default colours per class="smallfont" at the footer.

Alan_SP 06-03-2011 01:54 AM

Thank you! :up:

MarceloS 06-03-2011 10:58 AM

Quote:

Originally Posted by snoopytas (Post 2202513)
@MarceloS You will need to see if either of the two methods are active for the Apache account.

I.e.
1. Can the file /proc/loadavg be accessed by the Apache account?
-or-
2. Does uptime run?

If neither work, then its a Linux permissions/shell problem.

If you are running security enhanced linux then you may need to adjust the security profile.

Kym

1. Support says that "The file "/proc/loadavg" is under the ownership of root. So Apache user cannot access it." They say that it can't be changed.

2. Uptime not working. After the update, I get only this: "Page generated in 0.10525 seconds with 19 queries"

AusPhotography 06-08-2011 09:24 AM

@MarceloS, it seems your hosting provider has more limits than mine. Not much i can do about that.

AusPhotography 06-21-2011 06:33 AM

Updated !

It now optionally shows the MySQL uptime.
This adds one query per page, is off by default, and needs MySQL 5.1.12 or higher

RedDevil 06-21-2011 04:21 PM

Added seems to work fine on VB 4.1.3 and 4.1.4, maybe add colour change in settings rather than edit phrases.

Nice addon

AusPhotography 06-22-2011 07:16 AM

The colour is not something I want as this mod is intended to be light, fast and only for site staff.
It's not really intended for all your forum members as it really aimed at performance monitoring.


All times are GMT. The time now is 08:00 PM.

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.01082 seconds
  • Memory Usage 1,735KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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