LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 11-09-2004, 11:00 AM   #1
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Rep: Reputation: 31
Nmon data collection blues


I've been playing around with nmon in the data collection mode, not the interactive one. The problem I'm having is it's not running for extended periods of time. For example :

Code:
nmon64 -F $HOME/tmp/`hostname`.`date +%Y%m%d%H%M`.nmon -t -r `hostname` -s10 -c8640 &
should collect a full days worth of information at 10 second slices. But when I kick this off it immediately stops. Now, it could be, and probably is, that I'm doing something wrong here. But, even using the example provided in the help (nmon64 -h) I get the same behavior.

Stumped. Confused. Perplexed.


HELP!!!
 
Old 11-09-2004, 11:59 AM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Does it give no error message?
 
Old 11-09-2004, 12:04 PM   #3
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Original Poster
Rep: Reputation: 31
No errors. Just stops. If I send it to the background I'll get the classical "Done" message if I hit enter right after I issue the command.
 
Old 11-10-2004, 05:35 AM   #4
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
Remember that the nmon collected data should have less than typycallly 300. This means that your collection interval should be about 5 minutes, and not 10 seconds if y ou want to use the collected data.
The following command line works for me, it's in a script I start with nohup :
nmon32 -F ../logs/myfile.nmon -r mytest-s30 -c400
You see that I use nmon32 because I have a 32 bits toy for playing today, but this syntax should also work with nmon64 on your system.
 
Old 11-10-2004, 08:28 AM   #5
looseCannon
Member
 
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193

Original Poster
Rep: Reputation: 31
It seems real weird, the way this works. Contrary to the way most other scripts and programs work when they run. When I kick it off it, somehow, magically backgrounds itelf, possibly spawns some child processes, and the parent process disappears. Yet, the file that I tell it to write to still gets written to. An hour later, I've got an hours worth of data.
 
Old 11-11-2004, 06:52 AM   #6
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
You know what ? I'm happy !

You know what ? I'm happy !
We do have a working script.
I wa very tired when I wrote this script, so I dropped almost anything in it.
We don't really know why, but it works.
So, let's use it, and let's wait until we happen to learn why it works.

Last edited by zorba4; 11-11-2004 at 06:53 AM.
 
  


Reply


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
nmon like tool on Solaris ? cr06 Solaris / OpenSolaris 3 12-29-2009 04:20 PM
HELP: survey data collection & analysis woes :S kevingpo Programming 2 10-19-2005 09:30 AM
Nmon startup problem Performance AIX 1 10-02-2005 06:19 AM
Can nmon provide the weekly or monthly report? unixAIX AIX 1 11-09-2004 09:23 AM
Home Office Biotech Data Mining - Data Collection Adler Linux - General 20 11-03-2004 05:17 AM


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