21.02.2013 Views

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

AIX 5L Problem Determination - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

LED Reason/action<br />

c31 Define the console.<br />

3.8 Command summary<br />

The following section provides a list of the key commands discussed in this<br />

chapter.<br />

3.8.1 The errpt command<br />

The errpt command is used to check for errors reported by the error log facility.<br />

The syntax of the errpt command is provided in the following examples.<br />

To process a report from the error log, the syntax is:<br />

errpt [ -a ] [ -A ] [ -c ] [ -d ErrorClassList ] [ -D ] [ -e EndDate ] [ -g ]<br />

[ -i File ] [ -I File ] [ -j ErrorID [ ,ErrorID ] ] | [ -k ErrorID [ ,ErrorID ]<br />

] [ -J ErrorLabel [ ,ErrorLabel ] ] | [ -K ErrorLabel [ ,ErrorLabel ] ]<br />

[ -l SequenceNumber ] [ -m Machine ] [ -n Node ] [ -s StartDate ]<br />

[ -F FlagList ] [ -N ResourceNameList ] [ -P ] [ -R ResourceTypeList ]<br />

[ -S ResourceClassList ] [ -T ErrorTypeList ] [ -y File ] [ -z File ]<br />

To process a report from the error record template repository, the syntax is:<br />

errpt [ -a ] [ -A ] [ -I File ] [ -t ] [ -d ErrorClassList ]<br />

[ -j ErrorID [ ,ErrorID ] ] | [ -k ErrorID [ ,ErrorID ] ]<br />

[ -J ErrorLabel [ ,ErrorLabel ] ] | [ -K ErrorLabel [ ,ErrorLabel ] ]<br />

[ -F FlagList ] [ -P ] [ -T ErrorTypeList ] [ -y File ] [ -z File ]<br />

Some useful errpt command flags are provided in Table 3-5.<br />

Table 3-5 Commonly used flags of the errpt command<br />

Flags Description<br />

-a Detailed output<br />

-j error<br />

identifier<br />

Includes only the error-log entries specified by the ErrorID (error<br />

identifier) variable<br />

-s StartDate Specifies all records posted on and after the StartDate variable<br />

-T<br />

ErrorTypeList<br />

Limits the error report to error types specified by the valid<br />

ErrorTypeList variables: INFO, PEND, PERF, PERM, TEMP, and<br />

UNKN<br />

38 <strong>IBM</strong> ^ Certification Study Guide - <strong>AIX</strong> <strong>5L</strong> <strong>Problem</strong> <strong>Determination</strong> Tools and Techniques

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!