Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
AP Lightweight Performance Statistics Details »
AP Lightweight Performance Statistics
Mod Version: 2.0.7, by AusPhotography (Coder) AusPhotography is offline
Developer Last Online: Nov 2019 I like it Show Printable Version Email this Page

vB Version: 4.0.0 Rating: (10 votes - 4.90 average) Installs: 48
Released: 20 May 2011 Last Update: 19 Jan 2015 Downloads: 188
Not Supported Uses Plugins Re-usable Code Translations  

This is a very lightweight hack that adds basic page performance statistics to each page display.

It only displays for Moderators and Admins, as we don't want the unwashed masses to see this information.

Installation: Install the product file from AdminCP

Displays as the last line of the page:
Uptime: 13 Days 0:58:17 MySQL Uptime: 0 Days 14:30:11 Page generated in 0.56116 seconds with 31 queries [Server Load Averages (1:5:15) 3.67 : 4.31 : 3.89]
I have this running on vB4.1.3 but it should run on any vB4.0.0 and up.

There are 3.x hacks like this that do more, the trade off being this is very low impact.

2.0.1 Removed can_moderate and added AdminCP option that allows you to set the user-groups that can see the statistics
2.0.2 Added uptime (Linux only)
2.0.3 Phrased and fixed to handle no available uptime in Linux
2.0.4 Added options MySQL uptime - optional - requires MySQL 5.1.12 or higher - off by default - adds one query per page if turned on
2.0.7 Minor updates as implemented on my site

Enjoy!

Kym

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Lightweight Style for VB3.8.7 iPhone/Mobile/Cell/PDA dartho vBulletin 3.8 Styles 253 20 Oct 2020 12:06
Forum Style Lightweight Style for Small Screen Devices (cell phone, iphone, mobile, android) dartho vBulletin 4.x Styles 1147 26 Feb 2020 21:00
Mini Mods Lightweight Style Options for "Lightweight Style" dartho vBulletin 4.x Add-ons 162 19 Feb 2020 00:19
Add-On Releases Fast and Lightweight AJAX Musicbox for vBulletin 3.6.x silveryhat vBulletin 3.6 Add-ons 19 05 Dec 2009 05:52

Comments
  #2  
Old 20 May 2011, 02:10
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Reserved

Here is a screen shot...

Capture.JPG

AdminCP options: (2.0.4)

admin2.png
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***

Last edited by AusPhotography; 21 Jun 2011 at 08:40.
Reply With Quote
  #3  
Old 20 May 2011, 02:53
lapiervb lapiervb is offline
 
Join Date: Mar 2010
Do you have a demo or pics?
Reply With Quote
  #4  
Old 20 May 2011, 03:08
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
I posted a screen shot in post 1
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #5  
Old 20 May 2011, 03:30
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Where is it coded to only show to Admin and Moderators?

Never mind I found it, if (can_moderate())

So this code is marked Re - Usable, can I take the code and add it to another mod I have on my forum, to display there instead?

Last edited by ozzy47; 20 May 2011 at 03:47.
Reply With Quote
  #6  
Old 20 May 2011, 03:51
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
can_moderate is the condition.

You can take it and change as you need.
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #7  
Old 20 May 2011, 03:57
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
Thank you sir, excellent codding btw.
Reply With Quote
  #8  
Old 20 May 2011, 03:58
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
can_moderate adds a query, you do know that, right?
Reply With Quote
  #9  
Old 20 May 2011, 04:31
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Originally Posted by Boofo View Post
can_moderate adds a query, you do know that, right?
Fixed, thanks!
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #10  
Old 20 May 2011, 09:09
Sayid Sayid is offline
 
Join Date: Jan 2009
nice mod, tagged
Reply With Quote
  #11  
Old 20 May 2011, 15:15
djilou's Avatar
djilou djilou is offline
 
Join Date: Jan 2007
WTF in CMS home I see :
Page generated in 1.03960 seconds with 1738 queries [Server Load Averages (1:5:15)

1738 queries
Reply With Quote
  #12  
Old 20 May 2011, 15:25
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Real name: Doug
Works great ... thank you ...

I've always wondered about what the math numbers of the Server Load Averages mean.

Does anyone have a simple definition?

Regards,
Doug
Reply With Quote
  #13  
Old 20 May 2011, 16:04
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Apr 2011
Real name: Chris
cms home i get this
Page generated in 0.55868 seconds with 82 queries [Server Load Averages (1:5:15) 2.86 : 3.18 : 2.91]

Working ..smashin...thanks
__________________
http://sandstormradio.org
Reply With Quote
  #14  
Old 21 May 2011, 02:06
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Load averages here http://blog.scoutapp.com/articles/20...-load-averages

They are 1, 5 and 15 minutes loads. The meaning of the numbers are very dependant on the number of cores (CPUs).
Very simplistically - If you're running 2 x quad core then anything under 8 is ok.
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
  #15  
Old 21 May 2011, 02:09
AusPhotography's Avatar
AusPhotography AusPhotography is offline
 
Join Date: Nov 2007
Real name: Rick-owner, Kym-admin
Originally Posted by djilou View Post
WTF in CMS home I see :
Page generated in 1.03960 seconds with 1738 queries [Server Load Averages (1:5:15)

1738 queries
What OS are you running?
__________________
www.AusPhotography.net.au a.k.a. AP is a photography forum where members share their photography, photo editing skills and techniques. We run regular photographic competitions; Rick (site owner) and Kym (site tech) using this account
*** Home of the AP fully comprehensive vb4 photographic competition management solution ***
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:07.

Layout Options | Width: Wide Color: