LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   AIX (https://www.linuxquestions.org/questions/aix-43/)
-   -   Nmon data collection blues (https://www.linuxquestions.org/questions/aix-43/nmon-data-collection-blues-252810/)

looseCannon 11-09-2004 10:00 AM

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!!!

Matir 11-09-2004 10:59 AM

Does it give no error message?

looseCannon 11-09-2004 11:04 AM

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.

zorba4 11-10-2004 04:35 AM

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.

looseCannon 11-10-2004 07:28 AM

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.

zorba4 11-11-2004 05:52 AM

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.


All times are GMT -5. The time now is 10:59 PM.