April 1998
Intermediate to advanced
624 pages
16h 11m
English
Several options to the netstat command show various parts of the TCP/IP protocol parameters and counters. The most useful options are the basic netstat command, which monitors a single interface, and the netstat -i command, which summarizes all the interfaces. Figure 9-7 shows an output from the iostat -i command.
% netstat -i Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue lo0 8232 loopback localhost 1247105 0 1247105 0 0 0 bf0 4352 labnet-fddi testsys-fddi 5605601 0 1266263 0 0 0 le1 1500 labnet-71 testsys-71 738403 0 442941 0 11485 0 le2 1500 labnet testsys-lab 4001566 1 3141510 0 47094 0 le3 1500 labnet-tpt testsys 4140495 2 6121934 0 70169 ... |