5.9. Network Diagnostic Tools

The following diagnostic tools are available to help answer your questions about network performance.

5.9.1. netstat

Netstat provides a wealth of metrics on network activity. It reports packet in-and-out metrics, collisions (Ethernet only), and errors, as well as memory consumed by the network portion of the kernel for network buffers.

Providing statistics for network interfaces and protocols, netstat also reports the contents of various network-related data structures. The output format varies according to the options selected. The following is a partial example of the output for netstat -aAn, which displays a list of active sockets. Internet connections are listed first, followed by Unix domain connections:

						

Get HP-UX 11i Tuning and Performance now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.