nmon for AIX & Linux Getting Started · nmon Nigel’s Analyser nmon2rrd C filter Java Dynamic...
Transcript of nmon for AIX & Linux Getting Started · nmon Nigel’s Analyser nmon2rrd C filter Java Dynamic...
© Copyright IBM Corporation 2015
nmon for AIX & Linux
Getting StartedNigel Griffiths
POWER Advanced Technology Support
IBM Europe
© 2015 IBM
2
2 of 33
Let talk about
Year 18
© 2015 IBM
3
Let talk about nmon
View & Analysing AIX / Linux Performance data
© 2015 IBM
4
Let talk about nmon
View & Analysing AIX / Linux Performance data
View Online
Performance Tuning
� Right NOW !!
© 2015 IBM
5
Let talk about nmon
View & Analysing AIX / Linux Performance data
Post mortem Analyse���� Graphing
Capacity Tuning�Trends & resource settings
© 2015 IBM
6
6 of 33
Let talk about nmon
How many different code based for nmon?
© 2015 IBM
7
7 of 33
Let talk about nmon
How many different code based for nmon?
Answer: FIVE
1) Classic for AIX 3 & 4 ���� /dev/kmem2) Classic for AIX 5 & 6 ���� Perfstat library3) topas_nmon ���� Officially IBM supported4) nmon for Linux old ���� Closed source 5) nmon for Linux now ���� Open source
© 2015 IBM
8
8 of 33
Let talk about nmon
Where do I get my nmon?
1) Classic for AIX 3 & 4 ���� /dev/kmem2) Classic for AIX 5 & 6 ���� Perfstat library3) topas_nmon ���� Officially IBM supported4) nmon for Linux old ���� Closed source 5) nmon for Linux now ���� Open source
nmon.sourceforge.net
Download binary or codeSince AIX 5.3 TL9 & AIX 6 TL2
Default installed with AIX
Download from binaries
DeveloperWorks
© 2015 IBM
9
9 of 33
Timeline – 18 years
1997 ;. 2000 2003 2006 2009 2015
AIX 3.1.5 - 4.2
Benchmarking
Tuning/Reports
nmon for Linux
x86����POWER����x86����mainframe
embedded
x86_64
Open
Source’d
AIX command
topas_nmon
merged in to topas
nmon12f function
Released with AIX
AIX 5.3 TL09 +
AIX 6.1 TL02 +
nmon10 AIX5
Uses public API
& libperfstat
nmon9f AIX4
Last AIX 4.3.3
Used /dev/kmem
20052003
nmon12f AIX6
2008
nmon
analyser
nmon2rrd
nmon2web
nmon
Consolidator
topas CEC
reports
analyserpGraph =
java
Lotus 1-2-3
Then Excel
Website generators
Multiple machines
2007200119994.3.3
2010
60+ flavours!
nmonchart
© 2015 IBM
10
10 of 33
nmon flow
Screennmon
file
0
20
40
60
80
100
120
140
160
180
Stephen’s
nmon
AnalyserNigel’s
nmon2rrd
C filter
Java Dynamic Graphs
rrdtoolopen
source
Scripts- Create rrd
- Load rrd
- Graph rrd
index.html
-f or -F optionnmon
Federico’s
pGraph
Website +.jpg graphs
Bruce’s
nmon2web
Perl
rrdtoolopen
source
Scriptsrrdtool scripts
+ CPU & RAM
aggregation
Stephen’s
nmon
Consolidator
0
10
2 0
3 0
4 0
5 0
6 0
7 0
8 0
9 0
10 0
Excel graphs
Others
© 2015 IBM
11
11 of 33
is half the story
The other half is due to the nmon Analyser
Excel spreadsheets from Stephen Atkins, UK
Another personal time project
The sole designer/developer:� nmon analyser
� nmon Consolidation
� Topas CEC analyser
Now supported by Ron McCargar
• Thanks Ron
© 2015 IBM
12
More and Downloads
1. http://tinyurl.com/new-nmon-analyser
2. http://tinyurl.com/nmon4linux or
http://nmon.sourceforge.net
3. http://tinyurl.com/PerfToolsForum
4. http://tinyurl.com/OtherPerformanceTools
5. http://tinyurl.com/nmonClassic
12 of 33
© 2015 IBM
13
IBM Power Technical Universities sessions, schedule, personal agenda, feedback websiteruns on Apache on POWER8 under Linux
13 of 33
© 2015 IBM
14
Live Demonstration Time
1. nmon for AIX online blue
2. interaction with topas online ~
3. nmon for Linux website & Repository violet
4. nmon for Linux online violet
5. nmon capture blue
6. nmon files format & open in spread sheets
7. nmon Analyser nmon_Demo
8. nmonchart blue
14 of 33
© 2015 IBM
15Are you keeping up to date?
mr_nmon on twitter
– Only used to POWER / AIX
technical content, hints, tips and links
125 techie hands-on videos on YouTube at
http://www.youtube.com/nigelargriffiths
AIXpert Blog
– Lots of mini articles & thoughts
– http://tinyurl.com/AIXpert
Also:– http://tinyurl.com/ibmAIXVUG
– http:/tinyurl.com/newAIXwiki