![]() |
vB TOP for linux dedicated servers
Dr Erwin Loh's TOP for vB3 version 1.0
Dedicated server admins running vBulletins will know the importance of monitoring the TOP stats on your linux machine. However, telnet or SSH access is not always available - e.g. when you are work or behind a firewall. I've made a quick php script, that allows you to quickly view total number of users (members + guests) online, total httpd and mysql processes, and your top stats, all via a web page. It's coded so that only Admins (who have access to your Admin CP) can view this page. It uses your forum permissions, so you can change the code to allow only your userid to view it. I've purposely made it sparse and clean, so that no bandwidth is wasted when viewing this page. The file is top.php - just upload it to your forums directory, and view it. Keep refreshing it to view your TOP stats in realtime. I didn't put in an auto-refresh as that can be annoying. Enjoy! I know it's useful for me when I'm at work! |
great stuff Erwin , can you add the code to add this as a link in admincp under statistics and logs
|
BADASS!!!
Can I say that here?? Cause that is what this is..... Thanks Doc. /me installs. |
Very nice will save me time as I'm lazy :)
[high]* mmw installs[/high] |
Can this be broken down by mysql database ? I'd be interested in seeing that too if possible but this is a handy hack to have.
|
Quote:
|
Works well.
Thanks. |
nice hack Doc.
thanks. |
Quote:
here's all what I get: Quote:
|
Quote:
|
Lovely :D
shame about the colors hehehe |
Quote:
|
Quote:
Red Hat Linux 7.3 - Ensim Pro 3.5 |
Quote:
|
Same thing as mtha, dedicated server running RH Linux
Quote:
|
Quote:
|
Quote:
ahh.. probably it then.. ;) No biggy.. I'll just telnet in like I always do.. hehe |
I'm about to release a web-based Telnet/ SSH interface for vB3 Admin CP. ;) Wait for it!
|
obese!
thanks erwin! /me clicks install |
Quote:
Having a dedicated server doesnt mean your website can ssh, doesnt mean the forum user have this permisision either. that's too much security risk for me :) so I disable all site's ssh/telnet permission. idea, making the file's owner .... root or some user who can ssh, and put it in some secret area that safemod off :D, maybe it'd work, right? :D |
Just uploaded top.php, and I'm getting:
Quote:
|
You just can't keep yourself away eh Erwin ;) Good to see you're still around sharing your work with the community!
|
Quote:
http://www.vbulletin.com/forum/showp...1&postcount=78 |
Quote:
MFG datainternet |
Nice one Erwin !
Tnx ! |
Quote:
Having a dedicated server doesnt mean your website can ssh, doesnt mean the forum user have this permisision either. that's too much security risk for me https://vborg.vbsupport.ru/ so I disable all site's ssh/telnet permission. idea, making the file's owner .... root or some user who can ssh, and put it in some secret area that safemod off https://vborg.vbsupport.ru/, maybe it'd work, right? https://vborg.vbsupport.ru/ |
Love it Erwin!
|
As much as I love SSH, this script does the business for me :D
|
Hope someone will see this...pretty old hack. :)
Just tried this with v3.6.4 and it is not working. Must be some DB variances going this far back. Any chance anyone could take a look at this and adjust it for v3.6.x??? |
All times are GMT. The time now is 04:03 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|