NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming > CODE
Reload this Page Graphical Server Load Monitor

CODE This forum is for posting code snippets and example scripts that aren't quite tutorials, but could be useful for others. You may post code snippets and/or completed scripts that you've written and want to share here.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 02-15-2005, 09:16 AM THREAD STARTER               #1 (permalink)
Senior Member
 
Scott's Avatar
Join Date: Jun 2003
Location: UK
Posts: 3,547
Scott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond repute
 

Member of the Month
February 2005

Smile Graphical Server Load Monitor


Feel free to use it and redistribute, but please leave the copyright and header fully intact - and don't sell it!

Demo: http://www.purepimps.com/load.php
Code: http://www.purepimps.com/load.phps

There are 2 methods, if it doesn't work and shows errors (for example if open_basedir is enabled the default method won't work), comment out the line $method = 'normal'; and then hopefully it'll work fine.

Any comments and suggestions are welcome,
Scott.
Last edited by Scott; 01-24-2006 at 10:39 AM. Reason: Fixed links for now. I'll throw it up on another domain soon.
Scott is offline  
Old 02-15-2005, 11:50 AM   #2 (permalink)
www.SportsConvo.com
Join Date: May 2004
Posts: 2,624
jstep is a glorious beacon of lightjstep is a glorious beacon of lightjstep is a glorious beacon of lightjstep is a glorious beacon of lightjstep is a glorious beacon of light
 



looks pretty cool, maybe make more a featured script to sell?
jstep is offline  
Old 02-16-2005, 04:25 AM THREAD STARTER               #3 (permalink)
Senior Member
 
Scott's Avatar
Join Date: Jun 2003
Location: UK
Posts: 3,547
Scott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond repute
 

Member of the Month
February 2005

what other kind of features would you want?
Scott is offline  
Old 02-26-2005, 04:28 AM   #4 (permalink)
.PJ
NamePros Regular
 
.PJ's Avatar
Join Date: Aug 2004
Posts: 363
.PJ is on a distinguished road
 



thats wicked dude, I clicked the link before I read what you posted and I thought, that looks like whatpulse's thingy

PJ
__________________
L33TSig.net
.PJ is offline  
Old 02-26-2005, 04:39 AM THREAD STARTER               #5 (permalink)
Senior Member
 
Scott's Avatar
Join Date: Jun 2003
Location: UK
Posts: 3,547
Scott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond repute
 

Member of the Month
February 2005

Originally Posted by .PJ
thats wicked dude, I clicked the link before I read what you posted and I thought, that looks like whatpulse's thingy
????: NamePros.com http://www.namepros.com/code/70204-graphical-server-load-monitor.html

PJ
haha.

Here's a better version - same code just different low load, medium load, high load...etc. values for demo purposes.

Thx
Scott
Scott is offline  
Old 03-24-2005, 03:39 PM   #6 (permalink)
Senior Member
Join Date: Jan 2005
Location: USA
Posts: 1,149
hotrod12 has a spectacular aura abouthotrod12 has a spectacular aura about
 



Wow thanks alot I am going to put this up on my site and forum right now.
hotrod12 is offline  
Old 03-24-2005, 03:45 PM   #7 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
ive incoroporated this onto my server page

http://intentio-server.com

good script thanks
adam_uk is offline  
Old 03-24-2005, 03:58 PM   #8 (permalink)
Senior Member
Join Date: Jan 2005
Location: USA
Posts: 1,149
hotrod12 has a spectacular aura abouthotrod12 has a spectacular aura about
 



What script is that you are using for the rest of the processes? And also I put your script up on my site at http://www.explosive-hosting.com
hotrod12 is offline  
Old 03-25-2005, 11:58 AM   #9 (permalink)
Senior Member
Join Date: May 2003
Posts: 2,187
adam_uk is a jewel in the roughadam_uk is a jewel in the roughadam_uk is a jewel in the rough
 


Breast Cancer
its a script i made you can get it here
http://www.namepros.com/showthread.p...ear#post213309

adam_uk is offline  
Old 03-25-2005, 12:49 PM THREAD STARTER               #10 (permalink)
Senior Member
 
Scott's Avatar
Join Date: Jun 2003
Location: UK
Posts: 3,547
Scott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond repute
 

Member of the Month
February 2005

Originally Posted by adam_uk
ive incoroporated this onto my server page

http://intentio-server.com
????: NamePros.com http://www.namepros.com/showthread.php?t=70204

good script thanks
Looks nice!
Scott is offline  
Old 03-25-2005, 07:38 PM   #11 (permalink)
First Time Poster!
Join Date: Aug 2004
Location: Chelmsford, UK
Posts: 11,311
Sabre has a reputation beyond reputeSabre has a reputation beyond reputeSabre has a reputation beyond reputeSabre has a reputation beyond reputeSabre has a reputation beyond reputeSabre has a reputation beyond reputeSabre has a reputation beyond reputeSabre has a reputation beyond reputeSabre has a reputation beyond reputeSabre has a reputation beyond reputeSabre has a reputation beyond repute
 

Member of the Month
March 2005
Animal Cruelty Help The Homeless - Holiday 2009
Love the script!

Nice one guys!
__________________
Backpacker Insurance
Sabre is offline  
Old 01-24-2006, 10:45 AM   #12 (permalink)
Senior Member
 
dotcommakers's Avatar
Join Date: Oct 2003
Location: world wide web
Posts: 2,056
dotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to beholddotcommakers is a splendid one to behold
 




thanks scott rep added

i got the error when i tested.. but as per your instruction i commented out "normal" code i got another error

http://demo.dotcommakers.net/serverload.php

i think its server side problem is it so?
dotcommakers is offline  
Old 01-24-2006, 12:15 PM THREAD STARTER               #13 (permalink)
Senior Member
 
Scott's Avatar
Join Date: Jun 2003
Location: UK
Posts: 3,547
Scott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond reputeScott has a reputation beyond repute
 

Member of the Month
February 2005

Originally Posted by dotcommakers
thanks scott rep added

i got the error when i tested.. but as per your instruction i commented out "normal" code i got another error

http://demo.dotcommakers.net/serverload.php
????: NamePros.com http://www.namepros.com/showthread.php?t=70204

i think its server side problem is it so?
Unfortunately it looks as if you have both open_basedir enabled and shell_exec, exec, system, etc. disabled. Good from a security perspective, but perhaps no so good for running this script.

I'll see if I can get around these restrictions, but likely it's not possible. If you have root access to the server you can always disable open_basedir for the host "demo.dotcommakers.net" or "dotcommakers.net" - or request it if you don't.
Scott is offline  
Old 01-24-2006, 09:49 PM   #14 (permalink)
Eating Pie
 
iNod's Avatar
Join Date: Nov 2004
Location: Canada
Posts: 2,272
iNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud ofiNod has much to be proud of
 


Special Olympics AIDS/HIV Cystic Fibrosis Save The Children Baby Health Cystic Fibrosis
I would say that looks like your host turned on PHP Safe. I would say consult your host.

Very nice script Scott, nice simple system you got running. Rep left.

iNod.
__________________
I feel old.
iNod is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 02:45 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger