Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Server Info in Admin Control Panel Details »
Server Info in Admin Control Panel
Mod Version: 1.0, by Dream (Member) Dream is offline
Developer Last Online: Sep 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.8 Rating: (15 votes - 4.27 average) Installs: 171
Released: 07 Nov 2006 Last Update: 26 Mar 2007 Downloads: 722
Not Supported Additional Files Re-usable Code  

This is a script that shows a lot of server information inside the AdminCP.

- Shows server time with exec(date)
- Shows uptime with exec(uptime)
- Shows server load with file_get_contents("/proc/loadavg")
- Shows memory usage with exec(free -m)
- Shows free disk space with exec(df -h)
- phpinfo() link
- Shows MySQL Stats with mysql_stat()
- Shows MySQL Status with "SHOW STATUS" query
- Shows MySQL Vars with "SHOW VARIABLES" query

Its superadmin only.

Installation
- Upload "server_info.php" to your admincp
- Upload "cpnav_serverinfo.xml" to your includes/xml
- Reload your AdminCP, its under "Server Info"


Info on Server Loads

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
Administrative and Maintenance Tools Members Online in Admin Control Panel and Mod Control Panel Michael Biddle vBulletin 3.6 Add-ons 29 11 Apr 2016 22:11
Server Info in Admin Control Panel Darren Lewis vBulletin 2.x Full Releases 20 14 Aug 2002 08:18

  #31  
Old 26 Mar 2007, 03:35
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Great mod.

I made some modifications to mine so it would show the free and df information is easier to read formats.

free -m show the memory in MB and not kb.
df -h show the stats in MB, GB, etc.

Both are much easier to read. And feel free to update the mod so it shows them this way, as I think most will prefer it this way.

Lines 66 - 80 in server_info.php changed to this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Just another squirrel trying to get a nut
Reply With Quote
  #32  
Old 26 Mar 2007, 03:40
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Thanks, I'll update the mod

great
Reply With Quote
  #33  
Old 26 Mar 2007, 03:43
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Guess some screen prints might be nice too:
df -h

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

free -m

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Just another squirrel trying to get a nut
Reply With Quote
  #34  
Old 26 Mar 2007, 03:45
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Originally Posted by Dream View Post
Thanks, I'll update the mod

great
Cool, just glad to help. I can't code for jack, but in some cases I'm useful
__________________
Just another squirrel trying to get a nut
Reply With Quote
  #35  
Old 26 Mar 2007, 04:31
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Well, I'm not a Unix guru myself

Updated, made free be free -m and df be df -h
Reply With Quote
  #36  
Old 26 Mar 2007, 04:40
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Originally Posted by Doctor Death View Post
Server Info will not show up as product now and therefore you cannot track versions installed.
I always send an update when I update my mods. Sending an update sends an email to everyone that has the mod marked as Installed. So no need for a useless product xml just to show a version number.
Reply With Quote
  #37  
Old 26 Mar 2007, 13:03
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
One question, for those of us not in-the-know (yet) what do each of the numbers mean?(i.e. Average for some timeperiod, Instantaneous, Peak, etc??)

Server Loads: average: 2.22, 2.10, 2.30 2.22 : 2.10


Also Thanxx for the tickler stating: Please click Mark as Installed if you use this modification >>>> Somehow I'd overlooked Clicking 'Installed' and it caught my attention this time. And after reading the statement just above, I understand WHY it's important to do so! Anyway, I'm on board now. Nice improvements too, jw00dy.
Reply With Quote
  #38  
Old 26 Mar 2007, 19:08
mcqwert mcqwert is offline
 
Join Date: Mar 2007
Thanks.

Also, frightening to see how high my server load is:

Server Loads: 28.07 26.97 : 29.84
Reply With Quote
  #39  
Old 27 Mar 2007, 00:38
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Originally Posted by adwade View Post
One question, for those of us not in-the-know (yet) what do each of the numbers mean?(i.e. Average for some timeperiod, Instantaneous, Peak, etc??)

Server Loads: average: 2.22, 2.10, 2.30 2.22 : 2.10


Also Thanxx for the tickler stating: Please click Mark as Installed if you use this modification >>>> Somehow I'd overlooked Clicking 'Installed' and it caught my attention this time. And after reading the statement just above, I understand WHY it's important to do so! Anyway, I'm on board now. Nice improvements too, jw00dy.

Here's info on server loads that may help you

http://www.vbulletin.com/forum/showt...&postid=291831
Reply With Quote
  #40  
Old 27 Mar 2007, 00:46
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Originally Posted by mcqwert View Post
Thanks.

Also, frightening to see how high my server load is:

Server Loads: 28.07 26.97 : 29.84
That's not just frightening, it's appalling, I honestly don't know how your forum is running - the response times from it must be poor/dire.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #41  
Old 27 Mar 2007, 10:36
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Yeah, those numbers are pretty frightening...
__________________
Just another squirrel trying to get a nut
Reply With Quote
  #42  
Old 27 Mar 2007, 13:38
Doctor Death Doctor Death is offline
 
Join Date: Jan 2006
Originally Posted by Dream View Post
I always send an update when I update my mods. Sending an update sends an email to everyone that has the mod marked as Installed. So no need for a useless product xml just to show a version number.
Well, I ask for this not just to see a number... I would like the metadata populated to support the CHECK VERSION function... I have a product that automatically does this, and many developers do this which allows immediate and automatic notification.

Thanks, great mod.
Reply With Quote
  #43  
Old 27 Mar 2007, 15:29
daddygrim's Avatar
daddygrim daddygrim is offline
 
Join Date: Mar 2006
Real name: MrGrim
Uptime exec(uptime)

8:19AM up 336 days, 4:48, 0 users, load averages: 0.42, 0.63, 0.67

Server Loads: averages: 0.70, 0.68, 0.69 0.70 : 0.68

Filesystem Size Used Avail Capacity Mounted on
/dev/amrd0s1a 3.9G 843M 2.7G 23% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/amrd0s1g 49G 18G 27G 40% /hsphere
/dev/amrd0s1f 1.9G 74M 1.7G 4% /tmp
/dev/amrd0s1d 4.8G 3.3G 1.2G 73% /usr
/dev/amrd0s1e 4.8G 2.2G 2.3G 48% /var
procfs 4.0K 4.0K 0B 100% /proc
linprocfs 4.0K 4.0K 0B 100% /usr/compat/linux/proc
Reply With Quote
  #44  
Old 27 Mar 2007, 16:30
wLTD wLTD is offline
 
Join Date: Mar 2007
Thanks.
Since moving to a dedicated, reading the stats are easier this way.

Gracias and Marked

-Mike
Reply With Quote
  #45  
Old 27 Mar 2007, 18:05
ymy's Avatar
ymy ymy is offline
 
Join Date: Feb 2003
Hi

How can Used only server load information on the form home or footer

like this Server Loads: 2.22

if there is way i will try to install it

thanks
__________________
vBulletin is the ideal community solution for all medium-to-large sites
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 11:40.

Layout Options | Width: Wide Color: