LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 01-25-2012, 11:16 AM   #1
deepak_message
Member
 
Registered: Oct 2007
Posts: 175

Rep: Reputation: 17
NMON server configuration


Hi,

I am configuring NMON server to produce browser based OS status for all the client.
I have installed NMON server, it gives result when run command nmoon. but here is my question that
1. how to configure for show status on browser .
2. if I move client's nmon log to server, how to display on browser for each client?

Please help.
 
Old 01-26-2012, 04:43 AM   #2
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
You can call nmon via PHP's shell_exec routine, in a very minimal page on the server. E.g.

Code:
<?php echo shell_exec('nmon'); ?>
Something like that.
 
Old 01-27-2012, 02:55 PM   #3
ravi6289
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Rep: Reputation: Disabled
Quote:
Originally Posted by jhwilliams View Post
You can call nmon via PHP's shell_exec routine, in a very minimal page on the server. E.g.

Code:
<?php echo shell_exec('nmon'); ?>
Something like that.


Hi Deepak ,, Like jhwilliams said ,, If you're running an apache web server ,, create a a php file and place it in your web directory .

Example Sample file :


<html>
<body>
-----------code before
<?php echo shell_exec('nmon'); ?>
-----------code after
</body>
</html>


Launch the file on the browser and see if it works !! Kindly check and let us know
 
Old 01-28-2012, 12:09 PM   #4
deepak_message
Member
 
Registered: Oct 2007
Posts: 175

Original Poster
Rep: Reputation: 17
Hi,

Ihave configured, as you mentioned.
But I don't know it will work or not becasue it has been long time to wait the page.
but still the page loading.
at the time of typing here it has been to wait more than 20-25 minute of the page. it not yet load.
even if I mentioned another command it is working. except 'nmon'

Last edited by deepak_message; 01-28-2012 at 12:17 PM.
 
Old 01-28-2012, 08:42 PM   #5
jhwilliams
Senior Member
 
Registered: Apr 2007
Location: Portland, OR
Distribution: Debian, Android, LFS
Posts: 1,168

Rep: Reputation: 211Reputation: 211Reputation: 211
Oh, I guess it's an interactive command, like top. So it will never actually return.
 
Old 01-29-2012, 12:00 PM   #6
deepak_message
Member
 
Registered: Oct 2007
Posts: 175

Original Poster
Rep: Reputation: 17
is there another way ? please
 
  


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
nmon like tool on Solaris ? cr06 Solaris / OpenSolaris 3 12-29-2009 03:20 PM
nmon automation leungg Linux - Newbie 1 04-30-2009 07:40 PM
ntop/Nmon alternatives satimis Linux - Server 7 12-18-2007 01:24 AM
NMON - rsync error touny AIX 0 03-11-2006 01:51 AM
Nmon startup problem Performance AIX 1 10-02-2005 05:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:23 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