LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-25-2007, 06:12 PM   #1
ballistic509
Member
 
Registered: Feb 2006
Distribution: CentOS
Posts: 114

Rep: Reputation: 15
Server Monitoring - Debian Sarge


Is there a good PHP script i can use to get detailed information on my server?

i have a hosting company and i want customers to be able to see uptime, load, and other valuble information
 
Old 02-25-2007, 08:10 PM   #2
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Well, there's no reason you couldn't write this script. The first issue to tackle is, what do you mean by other valuable information?
 
Old 02-25-2007, 10:11 PM   #3
ballistic509
Member
 
Registered: Feb 2006
Distribution: CentOS
Posts: 114

Original Poster
Rep: Reputation: 15
i would love to write it..unfortunately i dont kno much PHP or anything..

and other valuble info would be anything i would wanna add later..not exactly sure..just uptime, and load mainly maybe..
 
Old 02-25-2007, 10:19 PM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Well, My suggestion is to Google "php tutorial". It's a relatively simple language - for what you are looking for, you could probably learn enough to write it within 30 minutes. The trick will be to just grab values for things like uptime from the appropriate CLI apps. System() should let you do this.

I promise, I taught myself a smattering of php in a half-hour. If you have any other programming experience, this should be a breeze, and if you wrote it yourself, it'll be more maintainable to you.

If you'd just rather not, google "php uptime" for a wide variety, and here's a script for load:
http://www.neowin.net/forum/index.ph...entry584581090
 
  


Reply

Tags
debian, monitor, php, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
debian sarge stable as syslog server cccc Debian 7 07-12-2006 06:55 AM
FTP server in Debian Sarge tyranus Debian 8 09-03-2005 05:17 PM
debian sarge server uses a lot of memory cccc Debian 2 08-08-2005 04:56 PM
Debian sarge refuses to connect to any irc server mamal Linux - General 0 01-14-2005 03:18 PM
Debian Sarge Server Setup LinuxGeek Debian 4 10-19-2004 10:35 PM


All times are GMT -5. The time now is 02:58 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration