Operating System - HP-UX
1833983 Members
1698 Online
110063 Solutions
New Discussion

looking for collisions with netstat

 
SOLVED
Go to solution
maafa
Advisor

looking for collisions with netstat

helo world!

I'm looking for netstat options that can tell me how much collisions I have on my interface. (I try "netstat -I lan0 -i 5", but the result was poor!! :

Name Mtu Network Address Ipkts Opkts
lan0 1500 xxx.xxx.xxx.0 xxx.xxx.xxx.xxx
177506503 184892328
)

thank's for help

Nordine M
4 REPLIES 4
eran maor
Honored Contributor
Solution

Re: looking for collisions with netstat

Hi

"lanadmin" is the supported method for displaying lan
interface statistics.

The supported method without going through "lanadmin" menus
using standard hp-ux commands would be:

HP-UX 11.0
#echo lan ppa {PPA#} display \\n \\n \\n quit | lanadmin -t

HP-UX 10.20
#echo lan nmid {NMID#} display \\n \\n \\n quit | lanadmin -t

The "lanscan" command can be used to obtain the {PPA}/{NMID} number
for supported cards. See lanscan man page for more info.


i also found a nice doc with a script to how to check the error in the lans

i m piting the it on a docs please open it
love computers
CHRIS_ANORUO
Honored Contributor

Re: looking for collisions with netstat

Try netstat -s
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
maafa
Advisor

Re: looking for collisions with netstat

thank's eran, I work fine.

Chris, sorry, no collisions are reported from netstat -s!!
Abel Berger
Regular Advisor

Re: looking for collisions with netstat

Hi Maafa,

Try this :

1 ) Take NMID of your lan adpter
# lanscan
2 ) # netstat -I

I holp help you !

Regards,

Abel Berger