1833758 Members
2780 Online
110063 Solutions
New Discussion

netstat -i

 
Mark Greenhalgh
New Member

netstat -i

netstat -i is not showing errors or collisions on my hp/ux 11.0 system. Is this normal ?
The output on a Sun system is:

$ netstat -i
Name Mtu Net/Dest Address Ipkts Ierrs Opkts Oerrs Collis Queue

# netstat -i
Name Mtu Network Address Ipkts Opkts

Where can I get the erros and collisions stats ?

Thanks
10 REPLIES 10
James R. Ferguson
Acclaimed Contributor

Re: netstat -i

Hi Mark:

This is "normal". 'netstat' lost this in 11.0. Take a look at 'glance' instead on the [l]an screen.

Regards!

...JRF...
harry d brown jr
Honored Contributor

Re: netstat -i

lanadmin


live free or die
harry
Live Free or Die
Patrick Wallek
Honored Contributor

Re: netstat -i

This is normal for HP-UX, yes.

See the netstat man page for more information on the netstat command.
harry d brown jr
Honored Contributor

Re: netstat -i

netstat -ri

# netstat -ri
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll


live free or die
harry
Live Free or Die
Uday_S_Ankolekar
Honored Contributor

Re: netstat -i

Hi,

Try lanadmin instead..

lanadmin>lan>ppa n >disp

Display will be on ppa number

Goodluck,
-USA..
Good Luck..
harry d brown jr
Honored Contributor

Re: netstat -i

oops...ignore my last post, it's an 11i box,,,,,,,,,,,


live free or die
harry

Maybe you install 11i to get it back?
Live Free or Die
Mark Greenhalgh
New Member

Re: netstat -i

Thanks Everyone.

Glance gives me what I need.

To get non-screen output I used:
glance -l -iterations 1 -j 10 -f x.x >/dev/null 2>/dev/null; grep '^ [0-9]' x.x
Roger Baptiste
Honored Contributor

Re: netstat -i


Mark,

netstat no longer does it/

There is a -g option
in lanadmin (on 11.00)
which gives the information:


#lanadmin -g

#ll /usr/sbin/lanadmin
-r-xr-xr-x 2 root bin 49152 Mar 20 2001 /usr/sbin/lanadmin

HTH
raj
Take it easy.
ramesh_6
Frequent Advisor

Re: netstat -i

Hi

Netstat and lanadmin are two good points to look for collision statistics.

Poor 11.0 lost this capability of netstat

Ramesh

Re: netstat -i

use
netstat -s
to ge a summary and use

lanadmin or landiag to get the errors etc..

landiag --> lan --> display

Manoj