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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

4.4.1 The chdev command<br />

The chdev command changes the characteristics of a device. The command has<br />

the following syntax:<br />

chdev -l Name [ -a Attribute=Value ... ]<br />

The commonly used flags are provided in Table 4-4.<br />

Table 4-4 Commonly used flags of the chdev command<br />

Flag Description<br />

-l Name Specifies the device logical name, specified by the name<br />

parameter, in the Customized Devices object class whose<br />

characteristics are to be changed<br />

-a Attribute=Value Specifies the device attribute value pairs used for changing<br />

specific attribute values<br />

4.4.2 The lsattr command<br />

The lsattr command displays attribute characteristics and possible values of<br />

attributes for devices in the system. The command has the following syntax:<br />

lsattr -E -l Name [ -a Attribute ] ...<br />

The commonly used flags are provided in Table 4-5.<br />

Table 4-5 Commonly used flags of the lsattr command<br />

Flag Description<br />

-E Displays the attribute names, current values, descriptions, and<br />

user-settable flag values for a specific device<br />

-l Name Specifies the device logical name in the Customized Devices<br />

object class whose attribute names or values are to be displayed<br />

-a Attribute Displays information for the specified attributes of a specific<br />

device or kind of device<br />

Chapter 4. Hardware problem determination 61

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

Saved successfully!

Ooh no, something went wrong!