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.

Flags Description<br />

-s host Records packets coming from the source host specified by the host<br />

variable<br />

-b Changes the -d or -s flag to bidirectional mode<br />

-e Enables promiscuous mode on network adapters that support this<br />

function<br />

8.5.5 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 most commonly used flags are provided in Table 8-5.<br />

Table 8-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 object<br />

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

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

kind of device<br />

8.5.6 The netstat command<br />

The netstat command shows network status. The command has the following<br />

syntax:<br />

/bin/netstat [ -n ] [ { -r -i -I Interface } ] [ -f AddressFamily ]<br />

[ -p Protocol ] [ Interval ]<br />

The most commonly used flags are provided in Table 8-6.<br />

Table 8-6 Commonly used flags of the netstat command<br />

Flag Description<br />

-n Shows network addresses as numbers<br />

-r Shows the routing tables<br />

-i Shows the state of all configured interfaces<br />

194 <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!