New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
ServPHP - Server Stats !
Hey Guys,
I had coded this a while back and wanted to show it you all !
It's a simple script which displays the server's :
Server Uptime, Users & Load Average
Server CPU Info
Server Disk Usage
Machine type
Host name
A Graph which shows the load of the server.
This is our Google Code Page, where you can download & report bugs !
http://code.google.com/p/servphp/
Demo !!
Thanks !
Please share some feedback
Comments
Awesome, now you just need to implement some google pie-charts and candy to make everyone love it.
Well... that and move to github...
Nice, you should add the memory usage.
Of course you're saying that with a smile, right?
When someone decides to release the result of their labour for free, I don't think anyone should criticize the way in which they do it.
Just sayin'.
There is a blank white box near the top of the page under the load averages for me. Is this supposed to be there?
Just let it run for a while
hey,
thanks for the positive feedback guys !
I'll be working on a new version soon which has ajax refresh instead of the old whole page refresh, and some nice graphs
well, I'll keep servphp on Google code for now, maby later I'll move it to github.
the graph may take a few minutes to get working
The only issue I can see with it is that there don't seem to be any margins on the text (as in, the text is right up by the page edge).
I'll have to fix that, I'll add a margin between the reports.
I have uploaded the source code (all files) to Google Code !
http://code.google.com/p/servphp/source/browse/
Hey
I added free -m in the commands, but when i check it, it doesn't display it when u do it on linux at the php page it just displays in a straight line, so does the disk usage, can u fix that?
Did you add it to http://code.google.com/p/servphp/source/list ? or to a copy on your PC ?
I have got the code to display the % of memory free, i'll add it to the main code as soon as the yum update finishes on the VPS
I have updated the code at the VPS,
http://93.104.215.18/servphp/index.php
It displays 11% currently while another script phpSysInfo displays 12%... So well, Give it a try, I'll be updating Google Code soon with the latest release.
Btw, I have dropped Machine Type from the status output.
Well, The release maybe delayed, by a few hours :P I'm adding icons to it to look neat !
Looks much better now
Would be awesome if u also could add vnstat or bwm-ng bandwith monitoring
GUYS !! It's Here !
http://code.google.com/p/servphp/downloads/list
ServPHP Release 2011-10-23 !
A Screenshot : http://imgair.net/i/20111023143104496.png
Please Share Some Feedback
@xprotocept : I'll give that a try in the next version
@Speedbus, the screenshot doesn't work...
imgair.net also doesn't work
@xprotocept : Try now Also, I'm getting the VPS OS re-installed soon, in about ~20 mins..
Btw, How's the new version ?
I didn't try it, will try it right now
@xprotocept : Thanks
Uploaded it, But getting some errors
Screenshot: http://img707.imageshack.us/img707/5517/statusnp.png
What's the OS and Webserver your using ?
OS is Debian 5 and Webserver is apache2
Hmm.. That's a bit odd.. Can you restart apache and try again ? It's a caching issue, the script has 0 cache (so that every reload displays fresh information) , and something has gone wrong for some reason.. a restart of apache may clear the cache..
Nope didn't work....
The demo VPS (which is the VPS on which I develop ServPHP) runs :
PHP 5.2.17 (cli) (built: Feb 21 2011 04:28:54)
Server version: Apache/2.2.21 (Unix)
CentOS release 5.7 (Final)
Could you share the PHP and Apache Details as listed above ?
Sorry for the "late" response, my network went down...
My VPS runs the following:
PHP 5.2.6-1+lenny13
Apache/2.2.9 (Debian) with Suhosin-Patch mod_python/3.3.1 Python/2.6.6
Debian 5
@xprotocept : The Versions that you and I use are quiet similar, I don't seem to understand why this is happening. Let me test this on the VPS you gave me
Beta Version Is here with ajax refresh !
http://93.104.215.18:81//servphp/beta/
The link above ^^ is wrong,
This is the correct link guys ! http://93.104.215.18//servphp/beta/
Sorry for that !
I would like to add something to your page... like pings and speedtest
I have the code ready, I can send it to you so you can adopt it
Tested the Beta / Ajax Version in FF and Chrome: Horizontal red line was not moving along the graph while scrolling.