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.

those that do not. If you are running a program that does a considerable amount<br />

of remote reads and writes and it is running slowly, but everything else seems to<br />

be running normally, then it is probably a network problem. Some of the potential<br />

network bottlenecks can be caused by the following:<br />

► Client-network interface<br />

► Network bandwidth<br />

► Network topology<br />

► Server network interface<br />

► Server CPU load<br />

► Server memory usage<br />

► Server bandwidth<br />

► Inefficient configuration<br />

A large part of network tuning involves tuning TCP/IP to achieve maximum<br />

throughput. With the new high bandwidth interfaces such as Gigabit Ethernet,<br />

this has become even more important.<br />

The first command to use for gathering information on network performance is<br />

the netstat command.<br />

10.4.1 The netstat command<br />

The netstat command is used to show network status. Traditionally, it is used<br />

more for problem determination than for performance measurement. However,<br />

the netstat command can be used to determine the amount of traffic on the<br />

network, which can help determine whether performance problems are due to<br />

network congestion.<br />

The netstat -i command<br />

The netstat -i command shows the state of all configured interfaces.<br />

The following example shows the statistics for a workstation with an integrated<br />

Ethernet and a token-ring adapter:<br />

# netstat -i<br />

Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll<br />

lo0 16896 144834 0 144946 0 0<br />

lo0 16896 127 localhost 144834 0 144946 0 0<br />

tr0 1492 10.0.5a.4f.3f.61 658339 0 247355 0 0<br />

tr0 1492 9.3.1 ah6000d 658339 0 247355 0 0<br />

en0 1500 8.0.5a.d.a2.d5 0 0 112 0 0<br />

en0 1500 1.2.3 1.2.3.4 0 0 112 0 0<br />

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