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 21:11
Server Info in Admin Control Panel Darren Lewis vBulletin 2.x Full Releases 20 14 Aug 2002 07:18

  #16  
Old 12 Nov 2006, 18:45
transitbus's Avatar
transitbus transitbus is offline
 
Join Date: Aug 2006
Originally Posted by TexasDreams
I wasn't getting the "Memory Usage" display either, because my server is on FreeBSD instead of Linux.

So, in "server_info.php" I changed lines 58 through 63...

FROM (Linux using 'free')
if ($_REQUEST['show'] == 'memoryusage' || empty($_REQUEST['show'])) {
print_form_header('', '');
print_table_header('Memory Usage &nbsp;<span class="normal">exec(free)</span>');
exec('free', $mem);
print_description_row('<pre>'.implode('<br />', $mem).'</pre>');
print_table_footer();

TO (FreeBSD using 'vmstat')
if ($_REQUEST['show'] == 'memoryusage' || empty($_REQUEST['show'])) {
print_form_header('', '');
print_table_header('Memory Usage &nbsp;<span class="normal">exec(vmstat)</span>');
exec('vmstat', $mem);
print_description_row('<pre>'.implode('<br />', $mem).'</pre>');
print_table_footer();

Works in a pinch to give the same kind of info.
LOL didn't even think of this one. Much thanks for it
Reply With Quote
  #17  
Old 17 Nov 2006, 01:39
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
Question

This is a really neat tool, lots of info all in one place. One question though, being BRAND NEW to all this I'm still learning the ropes of vB adminstration.

How do others know or track simple things like available disk space, or memory on their server?

Is that just a (daily) manual process wherein you look at it, or are there automated tools to forewarn you of an impending disaster?(i.e. emailed alert to admin, etc)

Does cPanel (or anything else) have those kind of features? Are there other MODs out there that admins typically use to keep an eye out about such things? Or does your HOST warn you when you come to close to the edge? Etc. Thanxx!
Reply With Quote
  #18  
Old 30 Nov 2006, 07:49
da420 da420 is offline
 
Join Date: Nov 2005
/me installs
Reply With Quote
  #19  
Old 05 Dec 2006, 01:35
pedroenf pedroenf is offline
 
Join Date: Jun 2006
Real name: Pedro
Could this mod work in windows 2003 sever? Thanks.
Reply With Quote
  #20  
Old 05 Dec 2006, 09:37
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Real name: Z.R.
it works with vb3.6.4 and all types of server?

is there any way to show cpu uses stats ?
Reply With Quote
  #21  
Old 13 Feb 2007, 06:22
Cybershaolin Cybershaolin is offline
 
Join Date: Nov 2006
Sorry wrong thread. Delte please.

Last edited by Cybershaolin; 13 Feb 2007 at 19:42.
Reply With Quote
  #22  
Old 16 Mar 2007, 15:54
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Updated, added uptime
Reply With Quote
  #23  
Old 16 Mar 2007, 16:09
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
Originally Posted by Dream View Post
Updated, added uptime
Just went to update after FTP'ing the file to my Admincp directory and during the Import/Overwrite got: "Invalid File Specified" Checked and rechecked using the browse funtion and it show up, but won't IMPORT. Is the xml file ok?
Reply With Quote
  #24  
Old 16 Mar 2007, 16:11
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Don't import the xml, upload it to includes/xml
Reply With Quote
  #25  
Old 16 Mar 2007, 16:13
adwade adwade is offline
 
Join Date: Aug 2006
Real name: A.D.
Ah ha! No wonder it wouldn't work. Sorry-so-slow. Thanxx for the help, works fine when you follow the directions! ha, ha

As so clearly stated above:

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

Last edited by adwade; 16 Mar 2007 at 16:22.
Reply With Quote
  #26  
Old 16 Mar 2007, 16:30
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
No problem
Reply With Quote
  #27  
Old 19 Mar 2007, 00:00
daddygrim's Avatar
daddygrim daddygrim is offline
 
Join Date: Mar 2006
Real name: MrGrim
looking good!!!
Reply With Quote
  #28  
Old 24 Mar 2007, 09:40
bluechris bluechris is offline
 
Join Date: Nov 2006
Nothing works for 2k3 servers and IIS... only mysql info
Reply With Quote
  #29  
Old 24 Mar 2007, 15:41
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
Yes this mod is meant for Unix, sorry.

If anyone wants to use this as a base for a Win version be my guest.
Reply With Quote
  #30  
Old 24 Mar 2007, 19:31
Doctor Death Doctor Death is offline
 
Join Date: Jan 2006
Installed.

Not sure why you need individual menu items when you have the ALL option...

Nice mod... Will be looking forward to next version.

Isn't there the ability to import as a product?

Server Info will not show up as product now and therefore you cannot track versions installed.

Thanks
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 19:08.

Layout Options | Width: Wide Color: