Sponsored Content
Full Discussion: need help on NMON in AIX
Operating Systems AIX need help on NMON in AIX Post 302335337 by manoj.solaris on Saturday 18th of July 2009 02:22:26 PM
Old 07-18-2009
Question

Quote:
Originally Posted by zxmaus
please explain what you are trying to do at all ?

a valid once off nmon command would be
Code:
nmon -s 60 -c 3 -f

where -s is the interval between runs and -c the number of times you want to run it. I assume you have interrupted your run before it had been finished so your data is corrupted ?

Kind regards
zxmaus
Thanks for your quick response, basically my requirement is to collect the NMON data for one day or 2 day,

so i have run the command ./nmon so that i can terminate in between if I want.

please let me know the version which i am using is correct or any other version i have to use

also let me know i have terminated the ./nmon process after 15 mins this time interval is sufficient?

Wheather i have to copy the file before terminating?
 

10 More Discussions You Might Find Interesting

1. AIX

Another NMON

Anyone ever experienced a core dump when running NMON. I am running AIX 5.3 on an 8 CPU LPAR (P570). This has only recently started to happen. (3 Replies)
Discussion started by: johnf
3 Replies

2. AIX

nmon

Can any one help where i can find articals about nomn I need to know how to read this tools ┌─CPU-Utilisation-Small-View───────────────────────────────────────────────────┐ │ 0----------25-----------50----------75----------100│ │CPU User% Sys% Wait% Idle%| ... (3 Replies)
Discussion started by: habuzahra
3 Replies

3. AIX

Nmon

HI Im new on this world. Im working with nmon and I understand that this tool generates a files that later with excel I can see the graphcial of my server. The problem is that this process is execute manualy and I need to meake automatic. How can I do That. Sorry for my english!! :o (3 Replies)
Discussion started by: jegtoro
3 Replies

4. AIX

Nmon tool

Hi All, I have a p550 server with 4 proc. But when i run nmon analyzer in cpu_sum it show 5 processors cpu0 cpu1 cpu2 cpu3 cpu4. Why it is showing 5 processors. (6 Replies)
Discussion started by: vjm
6 Replies

5. AIX

nmon in aix

Hi, I want to know how to use nmon in aix? I have donwloaded nmon (2 Replies)
Discussion started by: manoj.solaris
2 Replies

6. Shell Programming and Scripting

Script to clean nmon logs on AIX

I use NMON (Nigels Monitoring) in AIX. It creates a daily nmon log with the naming conventions of: hostname_YYMMDD_0000.nmon or myserver_080902_0000.nmon What I am interested in doing is creating a script that is executed on the first of each month to clean up last months *nmon files. .... (4 Replies)
Discussion started by: outtacontrol
4 Replies

7. AIX

Help with nmon utility

We have processes that run on our AIX box that sometimes run away and end up consuming 99% of the CPU. I'd like to create a script that would attempt to monitor when this happens and send an email alert with the PID and CPU %. Has anyone done such a thing? I know that you can run the nmon output to... (6 Replies)
Discussion started by: ssmith001
6 Replies

8. AIX

Top command in AIX 4.2 (no topas, no nmon, no top)?

Is there a 'top' command equivalent in AIX 4.2 ? I already checked and I do not see the following ones anywhere: top nmon topas (1 Reply)
Discussion started by: Browser_ice
1 Replies

9. AIX

aix and nmon

Hi All, First of all, I am a DBA and not an AIX admin. I am new at using this NMON tool. In interactive mode, I can start nmon, push 't' to have the list of process with their statistic (ie cpu% etc.). I would like to know if there is a way to redirect that screen output into a log... (1 Reply)
Discussion started by: Nayas
1 Replies

10. AIX

ORACLE Database running slow on AIX ( nmon / topas )

Hello, How can I know if ORACLE Database is running slow due to Memory or due to processing power ? I have only Oracle Database running on a P4 with 4GB RAM. Could anyone suggest any tools which can help me determine exactly if it is memory issue or processor issue. (43 Replies)
Discussion started by: filosophizer
43 Replies
PEGASUS-ANALYZER(1)													       PEGASUS-ANALYZER(1)

NAME
pegasus-analyzer - debugs a workflow. SYNOPSIS
pegasus-analyzer [--help|-h] [--quiet|-q] [--strict|-s] [--monitord|-m|-t] [--verbose|-v] [--output-dir|-o output_dir] [--dag dag_filename] [--dir|-d|-i input_dir] [--print|-p print_options] [--debug-job job] [--debug-dir debug_dir] [--type workflow_type] [--conf|-c property_file] [--files] [--top-dir dir_name] [workflow_directory] DESCRIPTION
pegasus-analyzer is a command-line utility for parsing the jobstate.log file and reporting successful and failed jobs. When executed without any options, it will query the SQLite or MySQL database and retrieve failed job information for the particular workflow. When invoked with the --files option, it will retrieve information from several log files, isolating jobs that did not complete successfully, and printing their stdout and stderr so that users can get detailed information about their workflow runs. OPTIONS
-h, --help Prints a usage summary with all the available command-line options. -q, --quiet Only print the the output and error filenames instead of their contents. -s, --strict Get jobs' output and error filenames from the job's submit file. -m, -t, --monitord Invoke pegasus-monitord before analyzing the jobstate.log file. Although pegasus-analyzer can be executed during the workflow execution as well as after the workflow has already completed execution, pegasus-monitord" is always invoked with the --replay option. Since multiple instances of pegasus-monitord" should not be executed simultaneously in the same workflow directory, the user should ensure that no other instances of pegasus-monitord are running. If the run_directory is writable, pegasus-analyzer will create a jobstate.log file there, rotating an older log, if it is found. If the run_directory is not writable (e.g. when the user debugging the workflow is not the same user that ran the workflow), pegasus-analyzer will exit and ask the user to provide the --output-dir option, in order to provide an alternative location for pegasus-monitord log files. -v, --verbose Sets the log level for pegasus-analyzer. If omitted, the default level will be set to WARNING. When this option is given, the log level is changed to INFO. If this option is repeated, the log level will be changed to DEBUG. -o output_dir, --output-dir output_dir This option provides an alternative location for all monitoring log files for a particular workflow. It is mainly used when an user does not have write privileges to a workflow directory and needs to generate the log files needed by pegasus-analyzer. If this option is used in conjunction with the --monitord option, it will invoke pegasus-monitord using output_dir to store all output files. Because workflows can have sub-workflows, pegasus-monitord will create its files prepending the workflow wf_uuid to each filename. This way, multiple workflow files can be stored in the same directory. pegasus-analyzer has built-in logic to find the specific jobstate.log file by looking at the workflow braindump.txt file first and figuring out the corresponding wf_uuid. If output_dir does not exist, it will be created. --dag 'dag_filename In this option, dag_filename specifies the path to the DAG file to use. pegasus-analyzer will get the directory information from the dag_filename. This option overrides the --dir option below. -d input_dir, -i input_dir, --dir input_dir Makes pegasus-analyzer look for the jobstate.log file in the input_dir directory. If this option is omitted, pegasus-analyzer will look in the current directory. -p print_options, --print print_options Tells pegasus-analyzer what extra information it should print for failed jobs. print_options is a comma-delimited list of options, that include pre, invocation, and/or all, which activates all printing options. With the pre option, pegasus-analyzer will print the pre-script information for failed jobs. For the invocation option, pegasus-analyzer will print the invocation command, so users can manually run the failed job. --debug-job job When given this option, pegasus-analyzer turns on its debug_mode, when it can be used to debug a particular job. In this mode, pegasus-analyzer will create a shell script in the debug_dir (see below, for specifying it) and copy all necessary files to this local directory and then execute the job locally. --debug-dir debug_dir When in debug_mode, pegasus-analyzer will create a temporary debug directory. Users can give this option in order to specify a particular debug_dir directory to be used instead. --type workflow_type In this options, users specify what workflow_type they want to debug. At this moment, the only workflow_type available is condor and it is the default value if this option is not specified. -c property_file, --conf property_file This option is used to specify an alternative property file, which may contain the path to the database to be used by pegasus-analyzer. If this option is not specified, the config file specified in the braindump.txt file will take precedence. --files This option allows users to run pegasus-analyzer using the files in the workflow directory instead of the database as the source of information. pegasus-analyzer will output the same information, this option only changes where the data comes from. --top-dir dir_name This option enables pegasus-analyzer to show information about sub-workflows when using the database mode. When debugging a top-level workflow with failures in sub-workflows, the analyzer will automatically print the command users should use to debug a failed sub-workflow. This allows the analyzer to find the database it needs to access. ENVIRONMENT VARIABLES
pegasus-analyzer does not require that any environmental variables be set. It locates its required Python modules based on its own location, and therefore should not be moved outside of Pegasus' bin directory. EXAMPLE
The simplest way to use pegasus-analyzer is to go to the run_directory and invoke the analyzer: $ pegasus-analyzer . which will cause pegasus-analyzer to print information about the workflow in the current directory. pegasus-analyzer output contains a summary, followed by detailed information about each job that either failed, or is in an unknown state. Here is the summary section of the output: **************************Summary*************************** Total jobs : 75 (100.00%) # jobs succeeded : 41 (54.67%) # jobs failed : 0 (0.00%) # jobs unsubmitted : 33 (44.00%) # jobs unknown : 1 (1.33%) jobs_succeeded are jobs that have completed successfully. jobs_failed are jobs that have finished, but that did not complete successfully. jobs_unsubmitted are jobs that are listed in the dag_file, but no information about them was found in the jobstate.log file. Finally, jobs_unknown are jobs that have started, but have not reached completion. After the summary section, pegasus-analyzer will display information about each job in the job_failed and job_unknown categories. ******************Failed jobs' details********************** =======================findrange_j3========================= last state: POST_SCRIPT_FAILURE site: local submit file: /home/user/diamond-submit/findrange_j3.sub output file: /home/user/diamond-submit/findrange_j3.out.000 error file: /home/user/diamond-submit/findrange_j3.err.000 --------------------Task #1 - Summary----------------------- site : local hostname : server-machine.domain.com executable : (null) arguments : -a findrange -T 60 -i f.b2 -o f.c2 error : 2 working dir : In the example above, the findrange_j3 job has failed, and the analyzer displays information about the job, showing that the job finished with a POST_SCRIPT_FAILURE, and lists the submit, output and error files for this job. Whenever pegasus-analyzer detects that the output file contains a kickstart record, it will display the breakdown containing each task in the job (in this case we only have one task). Because pegasus-analyzer was not invoked with the --quiet flag, it will also display the contents of the output and error files (or the stdout and stderr sections of the kickstart record), which in this case are both empty. In the case of SUBDAG and subdax jobs, pegasus-analyzer will indicate it, and show the command needed for the user to debug that sub-workflow. For example: =================subdax_black_ID000009===================== last state: JOB_FAILURE site: local submit file: /home/user/run1/subdax_black_ID000009.sub output file: /home/user/run1/subdax_black_ID000009.out error file: /home/user/run1/subdax_black_ID000009.err This job contains sub workflows! Please run the command below for more information: pegasus-analyzer -d /home/user/run1/blackdiamond_ID000009.000 -----------------subdax_black_ID000009.out----------------- Executing condor dagman ... -----------------subdax_black_ID000009.err----------------- tells the user the subdax_black_ID000009 sub-workflow failed, and that it can be debugged by using the indicated pegasus-analyzer command. SEE ALSO
pegasus-status(1), pegasus-monitord(1), pegasus-statistics(1). AUTHORS
Fabio Silva <fabio at isi dot edu> Karan Vahi <vahi at isi dot edu> Pegasus Team http://pegasus.isi.edu 05/24/2012 PEGASUS-ANALYZER(1)
All times are GMT -4. The time now is 01:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy