Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

ServPHP - Server Stats !

ServPHP - Server Stats !

SpeedBusSpeedBus Member
edited October 2011 in Reviews

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 !!

http://93.104.215.18/servphp/

Thanks !

Please share some feedback :D

OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
Thanked by 3Xeoncross alex Asim

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...

    Thanked by 2SpeedBus Asim
  • LESLES Member

    Nice, you should add the memory usage.

    Cheap VPS Deals ★★★ LowEndStock.com - 500+ offers! ★★★ http://twitter.com/Lowendstock

    Thanked by 1SpeedBus
  • Xeoncross said: Well... that and move to github...

    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'.

    Thanked by 2SpeedBus pingo
  • There is a blank white box near the top of the page under the load averages for me. Is this supposed to be there?

    Thanked by 1SpeedBus
  • Ixape said: 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 :)

    Thanked by 1SpeedBus
  • 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 :)

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • 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).

    Reviews | Website | Projects (Minstall, Scripts, etc)
    Thanked by 1SpeedBus
  • I'll have to fix that, I'll add a margin between the reports.

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • I have uploaded the source code (all files) to Google Code !

    http://code.google.com/p/servphp/source/browse/

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • 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?

  • SpeedBusSpeedBus Member
    edited October 2011

    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

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • SpeedBusSpeedBus Member
    edited October 2011

    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 !

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • Looks much better now
    Would be awesome if u also could add vnstat or bwm-ng bandwith monitoring :D

  • SpeedBusSpeedBus Member
    edited October 2011

    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 :)

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • @Speedbus, the screenshot doesn't work...
    imgair.net also doesn't work

  • SpeedBusSpeedBus Member
    edited October 2011

    @xprotocept : Try now :) Also, I'm getting the VPS OS re-installed soon, in about ~20 mins..

    Btw, How's the new version ?

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • I didn't try it, will try it right now

  • @xprotocept : Thanks :D

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • Uploaded it, But getting some errors
    Screenshot: http://img707.imageshack.us/img707/5517/statusnp.png

  • What's the OS and Webserver your using ?

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • 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..

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • Nope didn't work....

  • SpeedBusSpeedBus Member
    edited October 2011

    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 ?

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • 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 :)

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • Beta Version Is here with ajax refresh !

    http://93.104.215.18:81//servphp/beta/

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • The link above ^^ is wrong,

    This is the correct link guys ! http://93.104.215.18//servphp/beta/

    Sorry for that !

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • 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

    Referral links: DigitalOcean referral link | Free 15GB with Copy | Get 500MB free with Dropbox | I sell domains with Google Apps, $0.50 p/ user
  • Tested the Beta / Ajax Version in FF and Chrome: Horizontal red line was not moving along the graph while scrolling.

  • @netomx : I have replied to your PM, It would be awesome if you could share the speed test code !

    @melf : That's a bug which I have not been able to fix, yet. It should be fixed in the final release, I hope that removing the iFrame will fix that !

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
  • Update : I have released the code of the Ajax Refresh Version !! (It's Still Beta Though)

    Download Link :

    http://servphp.googlecode.com/files/ServPHP 8112011 Beta.zip

    Report any bugs here (or PM Me or Reply Here) : http://code.google.com/p/servphp/issues/list

    OpenVZ | Los Angeles, California | 8 Cores CPU | 256 MB RAM | 20 GB Disk | 3 TB bandwidth/month | $17/year | Here !
Sign In or Register to comment.