LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-14-2004, 08:15 AM   #1
fuelinjection
Member
 
Registered: Nov 2003
Location: County Durham, England
Distribution: Fedora
Posts: 238

Rep: Reputation: 30
PHP Server information


Hi All,

I'm looking for a good piece of software written in PHP that will supply me with information on my server. i.e. system resource information, drive information swap file information, a list of running services and their status? i.e. apache, mysql, php.

I want to be able to reteive this information over the web in a browser.
 
Old 06-14-2004, 09:31 AM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
You may want to write it yourself. You may use the php function echo(shell_exec('command')) to execute commands on your server and show the output directly on the page. For basic info you may want to use phpSysInfo.

greetz,
.-=~ iluvatar ~=-.

edit: for example:
Code:
<html>
<pre>
<?php echo(shell_exec('ps faux')); ?>
</pre>
</html>
will show all running processes

Last edited by iluvatar; 06-14-2004 at 09:36 AM.
 
Old 06-14-2004, 10:26 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
http://phpsysinfo.sourceforge.net/
 
  


Reply



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
Information about building a network server and the right programs Blackharaz Linux - General 3 04-29-2005 02:14 PM
Apache2 + Debian: how to hide information about server? Warp22 Linux - Software 5 04-11-2005 12:27 AM
Plz give me some information on proxy server (squid) vyom Linux - Networking 8 03-31-2005 06:57 AM
Post information not coming through PHP form. m3kgt Programming 5 04-02-2004 01:42 PM
Server Emailing Information Lucasite Linux - Software 1 03-04-2004 11:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:13 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration