Using the IBM summ Command for Deeper Analysis of AIX errpt and Sense Data

AIX

################################################################################
# Using the IBM summ Command for Deeper Analysis of AIX errpt and Sense Data
################################################################################

################################################################################
# IBM unofficially offers a perl script called “summ” that will give you
# diagnostic information about I/O errors (mostly disk and disk adapters- but
# also some enhanced information about core dumps, dump devices, etc.) by
# analyzing the data and sense data in errpt. Below is some information about
# this tool.

# Requirements: You’ll need to download the summ script to an AIX machine- it
# doesn’t really need to be the same AIX machine that you want to analyze.
# The machine where summ runs must have perl installed.

# As of this writing (late 2019), you can get a tar file from IBM containing
# the newest version of summ from this link:

https://www.ibm.com/support/pages/sites/default/files/inline-files/$FILE/summ_version_1.tar

# (Note- the link above does not work with curl or wget. You must use a browser.)

# It’s always best to check for newer versions from the main summ page:

https://www.ibm.com/support/pages/node/1072626

# And if that has moved, then you can find it again from the AIX Support Center
# Tools webpage, found here:

https://www-01.ibm.com/support/docview.wss?uid=aixtools_home

# Simply un-tar the file and pipe “errpt -a” into it to run:

tar xvf ./summ_version_1.tar
errpt -a | ./summ

# You can also bring over “errpt -a” output from another machine to analyze:

errpt -a > my.errpt.txt
# transfer my.errpt.txt to the machine and directory containing summ
cat my.errpt.txt | ./summ

# When using summ to analyze disk errors, it will usually produce an error that
# ends with something like this:

EWRPROTECT
EFORMAT
..etc.

# If you are unfamiliar with these failure codes, you can look them up on any
# AIX machine in the file /usr/include/sys/errno.h for more information.
# e.g.:

$grep EWRPROTECT /usr/include/sys/errno.h
define EWRPROTECT 47 /* Write-protected media */

################################################################################
guvf-cebprqher-jnf-gnxra-sebz-orafubeg.pbz
rznvy-oybt@orafubeg.pbz-sbe-qrgnvyf
################################################################################