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)

shovel 05-27-2003 10:00 PM

Extended! Server Load Averages
 
Here We Go Again! :cool:
Extended! Server Load Averages
Man, I Love This Feature!

Hey Everyone!
This is another creation from the "shovel factory/powerhouse". Lol. Actually, it's just another modification of the heavily unorganized, vBulletin AdminCP code. There, I said it! Anyways, this hack allows for a mighty cool feature.

1) You can check your current, 5 minute, and 10 minute server load with much more ease.

B. It just spices up the old 'Useful Admin Stuff' menu.

3) Well....you get the picture. (screen in post below)

Well, what it does is turns your current averages in to a much more useful percentage by multiplying the decimal by 100. Then I added a cool link to a place that explains these average triads and spans that tell you how long ago the values were taken. (when you hold your cursor over the percentages) I think it's pretty awesome, so you might think that too. Give it a look and try it out. Thanks.

With Lottsa Crap,
shovel

P.S.
If you have previously downloaded this hack, 12X means around line 120. It has now been changed. Sorry for any problems. :) Also, I've changed the class for the table-row back to secondalt. I had it set to firstalt to fit my own setup. :)

Latest Update: Upgrade coding for no more '0%, %, %' problems!

shovel 05-28-2003 03:55 PM

It's the averages above my cool bar feature. (Server Load Percentages hack)

SmEdD 05-28-2003 04:50 PM

Line 129 for me not 12

shovel 05-28-2003 05:07 PM

Not 12, 12X. Means, around 120. Lol. Sorry. I'll change it. :)

EDIT: Fixed :)

Dean C 05-28-2003 05:12 PM

You should have kept this in your old thread?

shovel 05-28-2003 05:15 PM

Nope, it's different. Plus, I plan on adding more about the daemon to this hack. Also, I'm getting rid of the old percentage hack. I don't like it. It doesn't make as much sense as this version. Thanks Dean. :)

*Requests Deletion of Percentage Hack*

WoodiE 05-29-2003 05:45 PM

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

shovel 05-30-2003 10:25 AM

This happens to me aswell, I can't explain it. Just refresh the page, that's my only solution. I'll mod the code so that it won't display that anymore aswell. :)

EDIT: FIXED, So Upgrade!

Erwin 05-30-2003 12:32 PM

I still don't understand the usefulness of this hack. :) To get the percentage, just take the server load eg. 0.5 and x 100 - 0.5 x 100 = 50%. What would be the point of your hack? :) Not wanting to offend, just clarifying its purpose...

shovel 05-30-2003 12:52 PM

Exactly, it turns them into a percent. It's a whole lot easier to read and I've also included the link you gave me earlier. I just relized the other day the use of 'Server Load Averages'. Now I want everyone to relize just how important they really are. Some people have been just bypassing them for years now not knowing what they do or stand for. Now, if a person looked into atleast the site I've included they could probably figure out why their server is so slow. :)


All times are GMT. The time now is 12:22 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.01124 seconds
  • Memory Usage 1,726KB
  • 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
  • (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
  • (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