AIX® Version 6.1 Performance Toolbox Guide Limiting Access to Data Suppliers
Total Page:16
File Type:pdf, Size:1020Kb
AIX Version 6.1 Performance Toolbox Version 3 Guide and Reference AIX Version 6.1 Performance Toolbox Version 3 Guide and Reference Note Before using this information and the product it supports, read the information in Appendix G, “Notices,” on page 431. This edition applies to AIX Version 6.1 and to all subsequent releases and modifications until otherwise indicated in new editions. (c) Copyright AT&T, 1984, 1985, 1986, 1987, 1988, 1989. All rights reserved. Copyright Sun Microsystems, Inc., 1985, 1986, 1987, 1988. All rights reserved. The Network File System (NFS) was developed by Sun Microsystems, Inc. This software and documentation is based in part on the Fourth Berkeley Software Distribution under license from The Regents of the University of California. We acknowledge the following institutions for their role in its development: the Electrical Engineering and Computer Sciences Department at the Berkeley Campus. The Rand MH Message Handling System was developed by the Rand Corporation and the University of California. Portions of the code and documentation described in this book were derived from code and documentation developed under the auspices of the Regents of the University of California and have been acquired and modified under the provisions that the following copyright notice and permission notice appear: Copyright Regents of the University of California, 1986, 1987, 1988, 1989. All rights reserved. Redistribution and use in source and binary forms are permitted provided that this notice is preserved and that due credit is given to the University of California at Berkeley. The name of the University may not be used to endorse or promote products derived from this software without specific prior written permission. This software is provided "as is" without express or implied warranty. (c) Copyright Apollo Computer, Inc., 1987. All rights reserved. (c) Copyright TITN, Inc., 1984, 1989. All rights reserved. © Copyright IBM Corporation 1994, 2012. US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents About This Document ..............................ix Subreleases...................................ix Highlighting ...................................ix Case-Sensitivity in AIX ...............................x ISO 9000 ....................................x Chapter 1. Performance Toolbox for AIX Overview ...................1 Why Performance Toolbox for the Operating System? ...................1 Product Components ...............................4 Chapter 2. Monitoring Statistics with xmperf ......................7 Performance Monitoring ..............................7 Introducing xmperf ................................7 Monitoring Hierarchy ................................9 Statistics and Values ...............................10 Instruments...................................12 Consoles ...................................20 Environments ..................................23 Monitoring Remote Systems with xmperf ........................23 Chapter 3. The xmperf User Interface ........................29 The xmperf User Interface Overview .........................29 The xmperf Command Line .............................29 The xmperf Main Window .............................31 The Help Menu .................................33 Console Windows ................................33 Playback Console Windows.............................43 Important xmperf Dialogs .............................46 Tabulating Windows ...............................50 Chapter 4. Recording and Playback with xmperf ....................53 Recording of Statistics...............................53 Playback of Recordings ..............................55 Using the Playback Console ............................56 Recording File Inconsistencies ...........................58 Annotations ..................................58 Chapter 5. The xmperf Command Menu Interface ...................61 Command Menus ................................61 Defining Menus .................................61 Executables ..................................62 Process Controls ................................67 Chapter 6. 3D Monitor ..............................71 Overview of the 3dmon Program ...........................71 The 3dmon Command Line .............................74 Customizing the 3dmon Program...........................76 Recording from 3dmon ..............................80 Chapter 7. 3D Playback..............................83 Overview of the 3dplay Program ...........................83 The 3dplay User Interface .............................84 © Copyright IBM Corp. 1994, 2012 iii Chapter 8. Monitoring Exceptions with exmon.....................85 The exmon Main Window .............................85 The exmon Monitoring Window ...........................85 The exmon Main Window Menu Bar .........................86 Working with Exception Logs ............................86 Working with Hosts ................................88 Command Execution from exmon ..........................89 The exmon Resource File .............................90 Chapter 9. Recording Files, Annotation Files, and Recording Support Programs .......93 Recording Files .................................93 Annotation Files .................................95 The a2ptx Recording Generator ...........................95 The ptxmerge Merge Program............................96 The ptxsplit Split Program .............................98 The ptxconv Conversion Program ..........................99 Listing Recorded Data with ptxtab ..........................100 The ptxls List Program ..............................102 The ptxrlog Recording Program ...........................103 Listing Recorded HotSet Data with ptxhottab ......................105 Processing HotSet Recordings with ptx2stat ......................105 Chapter 10. Analyzing Performance Recordings with azizo ...............107 Initial Processing of Recording Files .........................107 The azizo Main Window .............................108 Main Graphs..................................109 The azizo Command Line .............................110 The azizo User Interface .............................111 Using the azizo Metrics Selection Window .......................114 Working with azizo Main Graphs ..........................117 Common azizo Dialog Boxes............................125 Overview of Valid Drag-and-Drop Operations ......................130 Chapter 11. Analyzing Performance Trend Recordings with the jazizo Tool .........139 Recording Files.................................139 Configuration Files ...............................140 Jazizo Tool Menus ...............................140 Legend Panel .................................145 Chapter 12. Analyzing WLM with wlmperf ......................147 The wlmperf Command ..............................147 Analysis Overview................................147 WLM Report Browser ..............................148 Report Properties Panel .............................148 Report Displays ................................149 Daemon Recording and Configuration ........................150 Files .....................................150 Prerequisite ..................................151 Exit Status ..................................151 Related Information ...............................151 Chapter 13. Monitoring Remote Systems ......................153 The System Performance Measurement Interface ....................153 The xmtopas Command Line............................155 The xmtopas Interface ..............................157 The xmquery Network Protocol ...........................159 iv AIX® Version 6.1 Performance Toolbox Guide Limiting Access to Data Suppliers ..........................164 Starting Dynamic Data-Supplier Programs .......................165 Adjusting Socket Buffer Pool ............................166 Chapter 14. Recording Performance Data on Remote and Local Systems .........167 Recording on Remote and Local Systems Overview ...................167 Recording Configuration File ............................168 Selecting Metrics for the Recording Configuration File ..................173 The xmscheck Preparser .............................175 Starting Recording Sessions from the xmtrend Command Line ...............176 Session Recovery by the xmtrend Agent .......................176 Chapter 15. SNMP Multiplex Interface........................177 Network Management Principles ..........................177 Chapter 16. Data Reduction and Alarms with filtd ...................183 filtd Configuration File ..............................183 Data Reduction .................................184 Defining Alarms.................................187 Using Raw Values and Delta Values .........................189 Chapter 17. Response Time Measurement ......................191 Introduction ..................................191 IP Response Time Measurement ..........................192 Application Response Time Measurement (ARM) ....................195 Chapter 18. System Performance Measurement Interface Programming Guide........201 SPMI Overview .................................201 Understanding the SPMI Data Hierarchy .......................202 Understanding SPMI Data Areas ..........................204 Using the System Performance Measurement Interface API ................218 Example of an SPMI Data User Program .......................232 Example of an SPMI Data Traversal Program .....................236 Example of an SPMI Dynamic