Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

netstat -i

Status
Not open for further replies.

jdfab5

MIS
Mar 7, 2002
3
US
I am trying to monitor collision rates. I have read on many sites that the netstat -i command will display the # of output packets and # of collisions. However, when I give this command all I get back are the output pactets. It does not display the errors or collision columns. Below is an example of the output. This is a Hp 9000 with HP-UX 11.00

Name Mtu Network Address Ipkts Opkts
lan0 1500 10.75.72.0 stmlab 14344153 15519508
lo0 4136 127.0.0.0 localhost 1688921 1688921

How do I get the errors and collision columns to display?

 
I dont have access to a HP server, but have tried netstat -i on Solaris, irix and Tru64 and they all return a collisions column in the output.

Perhaps the options are different on HPUX. Try reading the man page on netstat.
 
Hi
netstat will not report collisions

do
lanadmin -> lan -> display

Patel
 
patel,

You are partially right. It will not report collisions and errors for HP-UX 11.00 but will report for HP-UX 10.20. Not sure what other versions have differences like this.
Regards,
Chuck
 
Let's say that
Code:
netstat -i
doesn't report the collisions anymore since version 11 of HP-UX. [smarty]
On this version,
Code:
lanadmin
can provide this information (in interactive mode, with the command lan followed by admin).
There is a good explanation available on UnixAdm.net at this URL:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top