Visit Our UNIX and Linux User Community


Issue with nmon analysing


 
Thread Tools Search this Thread
Operating Systems AIX Issue with nmon analysing
# 1  
Old 02-18-2013
IBM Issue with nmon analysing

Dear Experts,

Am using nmon analyser version 3.3g, and when i tried analyzing my current nmon file it was done successfully. But the problem is all my old nmon files are compressed. So i uncompressed and analyzed using the same analyzer. but got this error
no valid input data! nmon run may have failed
Is it because of the nmon file size as it is of more than 1.5 MB ? The file which was successful was of 989KB. If yes then can anyone please tell me how to analyze such a big files like even 4MB.
I even tried nmon analyzer V 3.4 which is the latest one but ended up with same result. SmilieSmilieSmilieSmilieSmilie
Im lost in here... can any one please help me out....

Thanks all in advance..SmilieSmilieSmilieSmilieSmilie
# 2  
Old 02-18-2013
I doubt it has to do with a file size but with the structure of the data in the files.
Try to install an older version with that it worked. Maybe there is some incompability between versions.
You could also ask in the IBM DeveloperWorks Performance Tools forum, where the author of nmon Nigel Griffiths (nickname "nagger" iirc) is often present. If he doesn't know a solution he can for sure give a hint.
This User Gave Thanks to zaxxon For This Post:
# 3  
Old 02-18-2013
With nmon analyzer - it can be file size as Excel has its own set of limits.

re: developers. Nigel might be able to help, but he developed the tool, not the analyzer.
And the initial "analyzer developer" has retired as I understand it.

Now, shorten yoru nmon files (to test for size issues) - you should be able to cut off the tail of "unsorted" nmon files.

The data collection starts with the line T0001 - which is a timestamp/keyword; BBBP is the last line of "static configuration information"

Code:
AAA,progname,topas_nmon
AAA,command,/usr/bin/topas_nmon -X -youtput_dir=/home/michael/x054 -ystart_time=05:59:16,Nov05,2012
AAA,version,TOPAS-NMON
AAA,build,AIX
AAA,disks_per_line,150
...
BBBP,707,netstat,""
BBBP,708,netstat,"Route Tree for Protocol Family 24 (Internet v6):"
BBBP,709,netstat,"::1%1              ::1%1             UH        1        56 lo0      -      -   "
BBBP,710,emgr -l
ZZZZ,T0001,05:59:28,05-NOV-2012
CPU01,T0001,27.4,59.3,1.3,11.9
PCPU01,T0001,0.50,0.36,0.01,0.12
CPU_ALL,T0001,27.4,59.3,1.3,11.9,,1 
PCPU_ALL,T0001,0.50,0.36,0.0,0.12,1.00
MEM,T0001,15.6,97.8,1433.9,500.9,9216.0,512.0
...
TOP,1376396,T0119,1.75,0.00,1.75,17,584,8,584,0,0.025,0,syncd,Unclassified
TOP,6488224,T0119,0.59,0.40,0.20,1,5832,756,5248,0,0.254,0,named8,Unclassified
ZZZZ,T0120,06:58:59,05-NOV-2012
CPU01,T0120,1.6,1.1,0.1,97.2
PCPU01,T0120,0.02,0.01,0.00,0.97
...
DISKAVGRIO,T0120,0.0,0.0,0.0
DISKAVGWIO,T0120,0.0,0.0,0.0
TOP,6488224,T0120,0.61,0.41,0.20,1,5832,756,5248,0,0.254,0,named8,Unclassified
BBBP,711,ending df -m
BBBP,712,ending df -m,"Filesystem    MB blocks      Free %Used    Iused %Iused Mounted on"
BBBP,713,ending df -m,"ddev/hd4         384.00    227.36   41%     4695     9% /"
BBBP,714,ending df -m,"ddev/hd2        2304.00    151.01   94%    42846    53% /usr"
...
BBBP,841,ending lparstat -H,"add_logicl_lan_buf        0            0.0           0.0          0           0"
BBBP,842,ending lparstat -H,"n-------------------------------------------------------------------------------"
BBBP,843,ending vmtune -a
BBBP,844,ending emgr -l
BBBP,845,ending uptime
BBBP,846,ending uptime,"  06:59AM   up 17 days,  10:49,  2 users,  load average: 2.49, 2.66, 2.66"

You can probably delete all the BBBP lines, and find your halfway mark and delete the second half. No idea how the analyzer will work/not work with the first half missing.

So, from my example of 120 samples, find the start of T0061, and delete...

Code:
...
DISKWIO,T0060,0.2,0.0,0.0
DISKAVGRIO,T0060,0.0,0.0,0.0
DISKAVGWIO,T0060,0.0,0.0,0.0
TOP,6488224,T0060,0.73,0.47,0.25,1,5832,756,5248,0,0.254,0,named8,Unclassified
ZZZZ,T0061,06:29:29,05-NOV-2012
CPU01,T0061,2.0,3.2,0.2,94.6
PCPU01,T0061,0.02,0.03,0.00,0.95
...

becomes
Code:
...
DISKWIO,T0060,0.2,0.0,0.0
DISKAVGRIO,T0060,0.0,0.0,0.0
DISKAVGWIO,T0060,0.0,0.0,0.0
TOP,6488224,T0060,0.73,0.47,0.25,1,5832,756,5248,0,0.254,0,named8,Unclassified

Hope this helps Smilie
This User Gave Thanks to MichaelFelt For This Post:
# 4  
Old 02-18-2013
Thanks MichaelFelt..

Ill surely try it out now.. Thanks for your replay.
# 5  
Old 02-18-2013
Quote:
Originally Posted by jayadeava
Thanks MichaelFelt..

Ill surely try it out now.. Thanks for your replay.
The "replay" is all yours.

FYI: I recommend
nmon -c 240 -s 360 ... whatever else you are doing ...

for 24 hour reports - so that the consolidator and trend analyzer can also be used easily. 12 hour reports (day/night collections, e.g. start at 0600 and 1800, or 0700 and 1900) I use nmon -c 240 -s 180 ...

Have Fun! Smilie

The key here, to keep from having issues with excel and "larger than necesssary files" is to keep the count variable -c at 240 or less
This User Gave Thanks to MichaelFelt For This Post:
# 6  
Old 02-19-2013
Hi MichaelFelt,

I tried deleting the BBBP lines but still getin the same issue.
This is what we are using .
Code:
/usr/bin/topas_nmon -s 300 -c 288 -f -youtput_dir=/var/tmp/

Thanks & Regards,
B. Jayadeava

Last edited by zaxxon; 02-20-2013 at 03:31 AM.. Reason: code tags
# 7  
Old 02-20-2013
The -s 300 -c 288 should work okay. I still recommend changing to 6 minute intervals and 240 entries. Works much better with nmon_analyzer and consolidated/trend views (excel and/or analyzer does not like more than ±250 entries and averages them to get number of entries below 250 - so 288 becomes 144 "values".

When using the "bare analyzer" you can have more.

OK. What version of AIX (with nmon included) - or are you still using a downloaded version - and are they different between the archived versions (that you had compressed) and the ones that are working - or are none working?

It will be 24 hours, but I'll try deleting the BBBP lines and see what happens with my reports.
This User Gave Thanks to MichaelFelt For This Post:

Previous Thread | Next Thread
Test Your Knowledge in Computers #190
Difficulty: Easy
In computer science, a data type is an attribute of data which informs the compiler or interpreter how the programmer intends to use the data.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Problems in analysing SSH LOG users & time

Attached is the log file that I have generated through the following script: last | head -2 |sed '2q;d' |awk '{ print $1"\t"$2"\t"$3"\t\t"$4"\t"$5"\t"$6"\t"$7"\t"$8"\t" $9"\t"$10"\t"$11}'>>/var/log/logadmin/logtest.txt But now I'm unable to run the following operations on it: 1. Count... (1 Reply)
Discussion started by: Lionking93
1 Replies

2. Shell Programming and Scripting

Reading and analysing data in a text file

Hi, I have below type of data in a text file in unix. Emp_Name Emp_Dept Raj 101 Amruta 100 Shilpa 100 Rohit 123 Amol 198 Rosh 101 Gaurav 198 Number of employees can be even more. Need a command or a... (2 Replies)
Discussion started by: rajneesh_kapoor
2 Replies

3. Shell Programming and Scripting

Analysing Mail Logs

Hello, I have a list of e-mails. I need to know, which email-s from that list not use. I want to do this things: - take email address from email list - find this address in mail logs - if, there is no record about this e-mail adress in list, show this e-mail address on screen I did... (0 Replies)
Discussion started by: naezdnik
0 Replies

4. Solaris

Analysing a core dump.

Friends I was trying to analyse a core dump using pstack command in Sol5.9(Sparc) The output is as below. root: pstack core_mumux211_istauth_220_108_1229517198_21922 core 'core_mumux211_istauth_220_108_1229517198_21922' of 21922: istauth fe1afbb8 ttcdrv (c10e0, c1db4, 30ad8, bc950, 0, 0)... (1 Reply)
Discussion started by: efunds
1 Replies

5. UNIX for Dummies Questions & Answers

Analysing Log Files?

I'm not sure if this query is relevant to this forum but here goes anyways... I want analyse log files that do not appear to be of standard format. I have tried using Analog but cannot config it to read the files. Does anyone have any advice on working with log files taken from a Unix... (6 Replies)
Discussion started by: Sepia
6 Replies

6. HP-UX

Query: Analysing the Core file

Hi, Is there any way to find the mode of the binary file (debug or release) by analyzing the core file generated by that binary on the HPUX11i Platform? (5 Replies)
Discussion started by: Prajakta
5 Replies

7. UNIX for Dummies Questions & Answers

Help analysing progress of a log file

Is it possible to track the progress of a job (informatica) by analysing the progress of it's log file ? I have a long running job, and no way of tracking how far allong it is. Thanks. (4 Replies)
Discussion started by: cosmos328is
4 Replies

8. 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

9. 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

10. UNIX for Advanced & Expert Users

Analysing truss log

I am facing the following issue when using db2. The JDBC prepared statement command is sending an incorrect value to the database for search. I did a truss on the app and here is the log. I want to know what is the value that is getting passed. is it possible. 26867/68: send(62,... (2 Replies)
Discussion started by: buytamil
2 Replies

Featured Tech Videos