Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
My Server Info in AdminCP Details »
My Server Info in AdminCP
Mod Version: 0.3, 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.5.0 Rating: (1 vote - 4.00 average) Installs: 43
Released: 18 Jul 2005 Last Update: 19 Jul 2005 Downloads: 41
Not Supported Additional Files Re-usable Code  

This is a script that I used outside the admincp, that shows some server info.

- Shows server time with exec(date)
- Shows server load with file_get_contents("/proc/loadavg") (same as microstats plugin)
- Shows memory usage with exec(free)
- Shows free disk space with exec(df)
- 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"

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 TOP Server Load on AdminCP homepage Adult SEO vBulletin 3.7 Add-ons 28 26 Jul 2009 12:16
Remove View PHP Info from adminCP Mr. HillBilly vBulletin 3.0 Full Releases 25 26 Jan 2004 16:58

Comments
  #2  
Old 18 Jul 2005, 15:51
jesus likes pie's Avatar
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
ooooh
Reply With Quote
  #3  
Old 18 Jul 2005, 17:26
jesus likes pie's Avatar
jesus likes pie jesus likes pie is offline
 
Join Date: Apr 2005
O.K works fine. One question..


Server Load file_get_contents("/proc/loadavg")

failed
whats that mean? Is something wrong with my server?
Reply With Quote
  #4  
Old 18 Jul 2005, 22:58
MrNase's Avatar
MrNase MrNase is offline
 
Join Date: May 2003
Real name: Dominik
Are you running Linux?

Are you sure the 'loadavg' in the folder 'proc' exists?
Reply With Quote
  #5  
Old 19 Jul 2005, 01:22
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
If you don't have proc, replace in server_info.php:

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

with:

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

That should work

Edit: Yes that does work

Satan

Last edited by hellsatan; 19 Jul 2005 at 01:28.
Reply With Quote
  #6  
Old 19 Jul 2005, 02:11
Dream's Avatar
Dream Dream is offline
 
Join Date: Oct 2001
thanks satan can I use that in an update?

and does anyone know the best way to get "server memory usage" and "disk space used/free"?
Reply With Quote
  #7  
Old 19 Jul 2005, 02:47
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Real name: Chris Murphy, BSc
Originally Posted by Dream
thanks satan can I use that in an update?

and does anyone know the best way to get "server memory usage" and "disk space used/free"?
Sure you can - You may want to play about with it though

For server memory usage, try looking at the php function "memory_get_usage"

Satan
Reply With Quote
  #8  
Old 17 Aug 2005, 08:24
utw-Mephisto utw-Mephisto is offline
 
Join Date: Feb 2005
Works smoothly
Reply With Quote
  #9  
Old 18 Oct 2005, 09:53
Chrissicom's Avatar
Chrissicom Chrissicom is offline
 
Join Date: Mar 2004
Real name: Chris
Any way to make this work on Windows 2003??
Reply With Quote
  #10  
Old 18 Oct 2005, 11:52
gsm4arab1 gsm4arab1 is offline
 
Join Date: Sep 2005
thanks jesus likes pie
Reply With Quote
  #11  
Old 18 Oct 2005, 14:35
Kihon Kata's Avatar
Kihon Kata Kihon Kata is offline
 
Join Date: Nov 2003
Originally Posted by jesus likes pie
ooooh
Fatal error: Call to undefined function: rpm_print_stop_back() in /home/httpd/vhosts/makeuptalk.com/httpdocs/forums/admincp/server_info.php on line 17

Yes, I am running Fedora

Any Ideas?
__________________
3MultiMedia.com - Simple, Effective CMS WebDesign
Reply With Quote
  #12  
Old 21 Oct 2005, 10:14
ideenwerk ideenwerk is offline
 
Join Date: Oct 2004
Works fine and is very useful, thanks!
Reply With Quote
  #13  
Old 21 Oct 2005, 14:57
Flow Fusion's Avatar
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Thanks.
Reply With Quote
  #14  
Old 29 Oct 2005, 06:15
eXtremeTim eXtremeTim is offline
 
Join Date: Jun 2002
Real name: Tim Yarbrough
umm yea


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

when you use a function its usualy nicer if its a real function that is defined.

Anybody who doesnt have permission to view the page will get that nice error tony was having.
Reply With Quote
  #15  
Old 29 Nov 2005, 16:31
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Real name: Rob
My site went down last night due to the var dir getting filled up with logs, apparently. I was told by the Host that this hack could cause that. I want to check and see if anyone else has run into this before I remove anything.

The strange thing is that I have only run this once since moving to the new serever and it was yesterday, a little while before I got the "too many connections" error.

Anyone have any ideas on this?
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 04:05.

Layout Options | Width: Wide Color: