Hi,
just a short question:
Is a error label always equal to a error identifier?
So it does not matter if i search for an specific identifier (errpt -j) or a specific label (errpt -J)?
Regards
Ron
Hi,
just a short question:
Is a error label always equal to a error identifier?
So it does not matter if i search for an specific identifier (errpt -j) or a specific label (errpt -J)?
Regards
Ron
I am not sure if i understand what you mean. Maybe this link will help you.
I hope this helps.
bakunin
Hi bakunin,
thank you for response. My question seems to be "lost in translation"
Next try: I wanted to know if the relationship between a errpt identifier and a errpt label is unique (1:1).
I guess it is but i am not sure.
Regards
Ron
PS
I found this page but it does not seem to work properly:
AIX and pSeries Information Center
You asked about the difference between using the -j versus -J option...there can be a difference. The key is the system error template database. The following command will list the fields of the system error template database:
errpt -t #summary
or
errpt -at #full
Do these commands to see how many unique identifiers are in your template. I demonstrate by example.
[josephgr@freezer2 ras] errpt -t | head -1
Id Label Type CL Description
[josephgr@freezer2 ras] errpt -t | awk '{print $1}' | wc -l
454
[josephgr@freezer2 ras] errpt -t | awk '{print $1}' | sort -u | wc -l
454
So I have 454 unique error identifiers because when I sort for uniqueness I get the same number without sorting for uniqueness.
Now lets do the same thing for error labels..
josephgr@freezer2 ras] errpt -t | head -1
Id Label Type CL Description]
[josephgr@freezer2 ras] errpt -t | awk '{print $2}' | wc -l
454
[josephgr@freezer2 ras] errpt -t | awk '{print $2}' | sort -u | wc -l
450
So some labels map to different identifiers since I only have 450 unique labels.
In my case I did this to find the labels that match to different identifiers...
[josephgr@freezer2 ras] errpt -t | egrep CPU_FAIL_CAP_REDUCT\|ECH_CANNOT_FAILOVER
080FC4F9 ECH_CANNOT_FAILOVER INFO H ETHERCHANNEL CANNOT FAIL OVER
0BD8A97C CPU_FAIL_CAP_REDUCT PEND S SPLPAR: CPU Failure - Capacity Reduction
12E7B75C CPU_FAIL_CAP_REDUCT INFO S SPLPAR: CPU Failure - Capacity Reduction
41007351 CPU_FAIL_CAP_REDUCT INFO S SPLPAR: CPU Failure - Capacity Reduction
6E913FBE ECH_CANNOT_FAILOVER INFO H ETHERCHANNEL CANNOT FAIL OVER
70BDA755 ECH_CANNOT_FAILOVER INFO H ETHERCHANNEL CANNOT FAIL OVER
Q.E.D.
However, note that they are not really the same message since there differ in type and classification for the most part, but not always.
Very interesting, blackrageous! I am impressed. A few seemingly unconnected parts now make perfect sense.
bakunin