AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-09-2004, 10:00 AM
|
#1
|
|
Member
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193
Rep:
|
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!!!
|
|
|
|
11-09-2004, 10:59 AM
|
#2
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
Does it give no error message?
|
|
|
|
11-09-2004, 11:04 AM
|
#3
|
|
Member
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193
Original Poster
Rep:
|
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.
|
|
|
|
11-10-2004, 04:35 AM
|
#4
|
|
Member
Registered: Feb 2004
Location: Paris
Posts: 398
Rep:
|
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.
|
|
|
|
11-10-2004, 07:28 AM
|
#5
|
|
Member
Registered: Dec 2003
Location: Little Rock, AR
Distribution: Fedora Core 2, AIX, HP-UX, Solaris, Whitebox
Posts: 193
Original Poster
Rep:
|
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.
|
|
|
|
11-11-2004, 05:52 AM
|
#6
|
|
Member
Registered: Feb 2004
Location: Paris
Posts: 398
Rep:
|
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 05:53 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|