Communications and Wireless
1827207 Members
2553 Online
109716 Solutions
New Discussion

Why do I get netstat -in output like this?

 
颜靖川
New Member

Why do I get netstat -in output like this?

Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
* 0 192.168.25.0 192.168.25.36 1 0 4294967040 0 0

J艖 0 0.0.110.49 0.0.255.255 5 0 1818324528 0 0

* 0 none none 92656640 0 0 0 0

2 none none 33554447 0 0 0
2 REPLIES 2
Ron Kinner
Honored Contributor

Re: Why do I get netstat -in output like this?

Probably you need a patch. I know there was a problem with netstat -in showing names longer than 8 characters. Since you're not using ASCII names the truncation probably causes what you are seeing.

"Symptom:
The width of the first column (Name) of
the "netstat -in" output is limited to
8 characters. If the name of the interface
is longer than 8 characters, it gets truncated.

Defect Description:
The maximum length of the interface name
was incorrectly taken to be 8.

Resolution:
A new command line option "-w" has been introduced,
which will display all the fields of netstat -in" with
their maximum possible resolution. A sample usage
would be "netstat -inw"

http://www2.itrc.hp.com/service/patch/search.do

If you search for netstat patches you will usually find quite a few but usually it's the arpa ones that are really the key.

If that doesn't help I'd post in the Hpux Networking forum instead.

Ron
颜靖川
New Member

Re: Why do I get netstat -in output like this?

Other necessary information:

OS: HPUX 11.11
Lanscan output:
Hardware Station Crd Hdw Net-Interface NM MAC HP-DLPI DLPI
Path Address In# State NamePPA ID Type Support Mjr#
0/0/0/1/0 0x000E7FED62C9 1 UP lan1 snap1 1 ETHER Yes 119
0/0/6/0/0 0x00306EEAB7EF 0 UP lan0 snap0 2 ETHER Yes 119
0/0/12/0/0 0x00306EEAB738 2 UP lan2 snap2 3 ETHER Yes 119
0/0/14/0/0 0x00306EEAB73A 3 UP lan3 snap3 4 ETHER Yes 119

netstat -in /stand/vmunix output:
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan2 1500 192.168.25.0 192.168.25.36 71210 0 947936 0 0
lan1 1500 192.168.25.0 192.168.25.34 32288 0 0 0 0
lan0 1500 192.168.25.0 192.168.25.32 1693091 0 10625 0 0
lan0:1 1500 192.168.25.0 192.168.25.202 0 0 0 0 0
lo0 4136 127.0.0.0 127.0.0.1 145850 0 145850 0 0

It seems any wrong in kernel.

How can I do?