User Tools

Site Tools


aix:diag_tool_aix

AIX diagnostic tools

Data gathering tools

devscan

  The devscan tool facilitates the debugging of storage problems by rapidly gathering a great deal of information about the SAN. It then displays the information in an easy-to-understand manner. You can run devscan from any AIX host, including VIO clients, or from a VIOS.
  

pdump

  The pdump script extracts information from the running process by using the kdb command, and other AIX tools.
  

perfpmr

  The perfpmr tool is used extensively by the AIX technical support centers. This package contains a set of tools and instructions for collecting the data needed to analyze performance problems. IBM might ask you to download and use this tool.

snap

  The snap command is included with the operating system. Snap captures system configuration information for AIX and PowerHA. Product technical support centers regularly request snap output to identify and resolve problems. Snap output can be delivered to IBM in portable archive exchange format (pax).

summ

  The summ utility is a diagnostic tool used by IBM Support to decode Fibre Channel and SCSI disk AIX error report entries. "summ" generates single-line error messages enhancing the readability of AIX error report and it can aid in diagnosing storage array or SAN fabric-related problems.

zsnap

  The zsnap utility delivers all the benefits of the standard snap command and captures additional debugging data in an easily understood format. IBM's world-class AIX support centers have teamed up to deliver a more fully integrated tool for data gathering, one that has already been proven to reduce the time needed to resolve customer problems. 

Collecting data

Collecting data

  A set of helpful MustGather documents to assist you in gathering testcase information that can be delivered to IBM.

Recommendation tools

VIOS Performance Advisor

  The VIOS Advisor application runs on the PowerVM Virtual I/O Server partition. The application collects key performance metrics before analyzing the results. It then provides a health check report listing recommended changes or areas requiring further investigation.

FLRT

  The Fix Level Recommendation Tool website provides fix recommendations for AIX, PowerHA, VIOS, System Firmware and many key components of your Power Systems server.

pstree (rpm) replaced by proctree (bff)

Misc tool to trace process

[root@testaix]/root# proctree -p 16646496 -T
16646496      \--/opt/uc4/smgr/bin/ucybsmgr -i/opt/tsm1/uc4/ucybsmgr.ini UC4
12386746           |\--/opt/uc4/agent/bin/ucxja64 /opt/tsm1/uc4/UCXtsm1.ini
19923398           |      \--ucxja64-listener
27132260           |\--ucybsmgr-listener UC4
[root@testaix]/root# proctree -p 6685034 -T
6685034       \--/usr/sbin/zabbix_agentd -c /var/zabbix/conf/zabbix_agentd.conf
7406054            |\--/usr/sbin/zabbix_agentd: collector [idle 1 sec]
7471592            |\--/usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
7602668            |\--/usr/sbin/zabbix_agentd: listener #2 [waiting for connection]
7668206            |\--/usr/sbin/zabbix_agentd: listener #3 [waiting for connection]
7733744            |\--/usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
[root@testaix]/root# /usr/bin/procmap 6685034
6685034 : /usr/sbin/zabbix_agentd -c /var/zabbix/conf/zabbix_agentd.conf
100000000             4040K  read/exec         zabbix_agentd
110000144              362K  read/write        zabbix_agentd
9fffffff0000000         62K  read/exec         /usr/ccs/bin/usla64
9fffffff000f82e          0K  read/write        /usr/ccs/bin/usla64
90000000052e140         93K  read/exec         /usr/lib/libsrc.a[shr_64.o]
9001000a01c0d70         55K  read/write        /usr/lib/libsrc.a[shr_64.o]
9000000004b3e80        164K  read/exec         /usr/lib/libcorcfg.a[shr_64.o]
9001000a01cf720         40K  read/write        /usr/lib/libcorcfg.a[shr_64.o]
9000000006cd6a0        834K  read/exec         /usr/lib/liblvm.a[shr_64.o]
9001000a01e2718        230K  read/write        /usr/lib/liblvm.a[shr_64.o]
90000000048ca20        147K  read/exec         /usr/lib/libodm.a[shr_64.o]
9001000a01aa1f0         48K  read/write        /usr/lib/libodm.a[shr_64.o]
900000000546fe0         91K  read/exec         /usr/lib/libcfg.a[shr_64.o]
9001000a01b7e78         29K  read/write        /usr/lib/libcfg.a[shr_64.o]
9000000004b2220          2K  read/exec         /usr/lib/libcrypt.a[shr_64.o]
9001000a01177a8          0K  read/write        /usr/lib/libcrypt.a[shr_64.o]
9000000005a58e0        624K  read/exec         /usr/lib/libperfstat.a[shr_64.o]
9001000a021d560        144K  read/write        /usr/lib/libperfstat.a[shr_64.o]
90000000055e000        283K  read/exec         /usr/lib/libpthreads.a[shr_xpg5_64.o]
9001000a0118000        580K  read/write        /usr/lib/libpthreads.a[shr_xpg5_64.o]
900000000000b80       4651K  read/exec         /usr/lib/libc.a[shr_64.o]
9001000a00002e0       1112K  read/write        /usr/lib/libc.a[shr_64.o]
         Total       13602K
[root@testaix]/root# /usr/bin/procmap -S 6685034
6685034 : /usr/sbin/zabbix_agentd -c /var/zabbix/conf/zabbix_agentd.conf
100000000             4040K  read/exec         zabbix_agentd
110000144              362K  read/write        zabbix_agentd
9fffffff0000000         62K  read/exec         /usr/ccs/bin/usla64
9fffffff000f82e          0K  read/write        /usr/ccs/bin/usla64
90000000052e140         93K  read/exec         /usr/lib/libsrc.a[shr_64.o]
9001000a01c0d70         55K  read/write        /usr/lib/libsrc.a[shr_64.o]
9000000004b3e80        164K  read/exec         /usr/lib/libcorcfg.a[shr_64.o]
9001000a01cf720         40K  read/write        /usr/lib/libcorcfg.a[shr_64.o]
9000000006cd6a0        834K  read/exec         /usr/lib/liblvm.a[shr_64.o]
9001000a01e2718        230K  read/write        /usr/lib/liblvm.a[shr_64.o]
90000000048ca20        147K  read/exec         /usr/lib/libodm.a[shr_64.o]
9001000a01aa1f0         48K  read/write        /usr/lib/libodm.a[shr_64.o]
900000000546fe0         91K  read/exec         /usr/lib/libcfg.a[shr_64.o]
9001000a01b7e78         29K  read/write        /usr/lib/libcfg.a[shr_64.o]
9000000004b2220          2K  read/exec         /usr/lib/libcrypt.a[shr_64.o]
9001000a01177a8          0K  read/write        /usr/lib/libcrypt.a[shr_64.o]
9000000005a58e0        624K  read/exec         /usr/lib/libperfstat.a[shr_64.o]
9001000a021d560        144K  read/write        /usr/lib/libperfstat.a[shr_64.o]
90000000055e000        283K  read/exec         /usr/lib/libpthreads.a[shr_xpg5_64.o]
9001000a0118000        580K  read/write        /usr/lib/libpthreads.a[shr_xpg5_64.o]
900000000000b80       4651K  read/exec         /usr/lib/libc.a[shr_64.o]
9001000a00002e0       1112K  read/write        /usr/lib/libc.a[shr_64.o]
         Total       13602K
a00000000000000       1092K  read/write        < shmid = 8389638 >
         Total        1092K
1000000000000000   4194304K  read/write        < stack >
110000000             1003K  read/write        < heap >
[root@testaix]/root# /usr/bin/procmap -uX 6685034
6685034 : /usr/sbin/zabbix_agentd -c /var/zabbix/conf/zabbix_agentd.conf

Start-ADD         End-ADD             SIZE MODE  PSIZ  TYPE       VSID             MAPPED OBJECT
0                 10000000          256.0M r--   m     KERTXT     4002
100000000         1003f2083           3.9M r-x   s     MAINTEXT   8164eb           zabbix_agentd
110000144         11005ad28         363.0K rw-   sm    MAINDATA   80c506           zabbix_agentd
11005ad28         1100fae00         640.2K rw-   sm    HEAP       80c506
800200140000000   8002001401fa000     2.0M r--   sm    KER/LDR    810508
8fffffff0000000   900000000000000   256.0M r--   s     KER/LDR    81c50e
900000000000b80   90000000048b847     4.5M r-x   m     SLIBTEXT   832019           /usr/lib/libc.a[shr_64.o]
90000000048ca20   9000000004b1847   147.5K r-x   m     SLIBTEXT   832019           /usr/lib/libodm.a[shr_64.o]
9000000004b2220   9000000004b2c7e     2.6K r-x   m     SLIBTEXT   832019           /usr/lib/libcrypt.a[shr_64.o]
9000000004b3e80   9000000004dd27b   165.0K r-x   m     SLIBTEXT   832019           /usr/lib/libcorcfg.a[shr_64.o]
90000000052e140   9000000005458dd    93.9K r-x   m     SLIBTEXT   832019           /usr/lib/libsrc.a[shr_64.o]
900000000546fe0   90000000055dde9    91.5K r-x   m     SLIBTEXT   832019           /usr/lib/libcfg.a[shr_64.o]
90000000055e000   9000000005a4fe1   284.0K r-x   m     SLIBTEXT   832019           /usr/lib/libpthreads.a[shr_xpg5_64.o]
9000000005a58e0   900000000641928   624.1K r-x   m     SLIBTEXT   832019           /usr/lib/libperfstat.a[shr_64.o]
9000000006cd6a0   90000000079dffc   834.3K r-x   m     SLIBTEXT   832019           /usr/lib/liblvm.a[shr_64.o]
9001000a00002e0   9001000a0116450     1.1M rw-   sm    PLIBDATA   81450a           /usr/lib/libc.a[shr_64.o]
9001000a01177a8   9001000a0117930   392.0  rw-   sm    PLIBDATA   81450a           /usr/lib/libcrypt.a[shr_64.o]
9001000a0118000   9001000a01a9194   580.4K rw-   sm    PLIBDATA   81450a           /usr/lib/libpthreads.a[shr_xpg5_64.o]
9001000a01aa1f0   9001000a01b6420    48.5K rw-   sm    PLIBDATA   81450a           /usr/lib/libodm.a[shr_64.o]
9001000a01b7e78   9001000a01bf610    29.9K rw-   sm    PLIBDATA   81450a           /usr/lib/libcfg.a[shr_64.o]
9001000a01c0d70   9001000a01ced40    56.0K rw-   sm    PLIBDATA   81450a           /usr/lib/libsrc.a[shr_64.o]
9001000a01cf720   9001000a01d9784    40.1K rw-   sm    PLIBDATA   81450a           /usr/lib/libcorcfg.a[shr_64.o]
9001000a01e2718   9001000a021c095   230.4K rw-   sm    PLIBDATA   81450a           /usr/lib/liblvm.a[shr_64.o]
9001000a021d560   9001000a0241898   144.8K rw-   sm    PLIBDATA   81450a           /usr/lib/libperfstat.a[shr_64.o]
900200140000000   900200150000000   256.0M r--   s     KER/LDR    83601b
9ffffffd0000000   9ffffffe0000000   256.0M r--   sm    KER/LDR    1400a
9ffffffe0000000   9fffffff0000000   256.0M r--   sm    KER/LDR    1a00d
9fffffff0000000   9fffffff000f82e    62.0K r-x   s     SLIBTEXT   812109           /usr/ccs/bin/usla64
9fffffff000f82e   9fffffff000f82e     0.0  rw-   s     PLIBDATA   812109           /usr/ccs/bin/usla64
a00000000000000   a000000001c5000     1.8M rw-   sm    SHM        820530           shmid:8389638
ffffffffe000000   1000000000000000   32.0M rw-   sm    STACK      81850c
                             Total    1.3G
[root@testaix]/root# /usr/bin/procfiles 6685034
6685034 : /usr/sbin/zabbix_agentd -c /var/zabbix/conf/zabbix_agentd.conf
 Current rlimit: 2000 file descriptors
   0: S_IFCHR mode:00 dev:10,4 ino:20924 uid:212 gid:251 rdev:2,2
      O_RDONLY
   1: S_IFREG mode:0220 dev:10,6 ino:28772 uid:212 gid:251 rdev:0,0
      O_WRONLY | O_APPEND size:21730
   2: S_IFREG mode:0220 dev:10,6 ino:28772 uid:212 gid:251 rdev:0,0
      O_WRONLY | O_APPEND size:21730
   3: S_IFREG mode:0220 dev:10,6 ino:28774 uid:212 gid:251 rdev:0,0
      O_WRONLY size:7
   4: S_IFSOCK mode:00 dev:268435455,-1 ino:1052 uid:212 gid:251 rdev:0,0
      O_RDWR
   5: S_IFSOCK mode:00 dev:268435455,-1 ino:1308 uid:212 gid:251 rdev:0,0
      O_RDWR
aix/diag_tool_aix.txt · Last modified: 2023/09/26 18:14 by manu