This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
aix:diag_tool_aix [2023/01/05 17:47] manu created |
aix:diag_tool_aix [2023/09/26 18:14] (current) manu |
||
---|---|---|---|
Line 44: | Line 44: | ||
The Fix Level Recommendation Tool website provides fix recommendations for AIX, PowerHA, VIOS, System Firmware and many key components of your Power Systems server. | 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 | ||
+ | <cli prompt='#'> | ||
+ | [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] | ||
+ | </cli> | ||
+ | |||
+ | <cli prompt='#'> | ||
+ | [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 | ||
+ | </cli> | ||
+ | |||
+ | <cli prompt='#'> | ||
+ | [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 > | ||
+ | </cli> | ||
+ | |||
+ | <cli prompt='#'> | ||
+ | [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 | ||
+ | </cli> | ||
+ | |||
+ | <cli prompt='#'> | ||
+ | [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 | ||
+ | </cli> |