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 & Stumped. Confused. Perplexed. HELP!!! |
Does it give no error message?
|
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.
|
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. |
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.
|
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. |