- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Outbound octets and packets displayed by lanad...
Operating System - HP-UX
1819915
Members
2286
Online
109607
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2010 10:19 PM
тАО04-04-2010 10:19 PM
Outbound octets and packets displayed by lanadmin are not changed on 11.31.
Hi,
I'm trying to get how many bytes the ethernet card receives and sends from C. It can be done by using DLPI and works fine on 11.23. But itdoesn't on 11.31. Outbound octets and packets are static. I had doubted my program but "lanadmin -g 0" was also same. I concluded that DLPI itself or network adapter didn't update the outbound statistics.
What I did:
1. check the PPA number.
# netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 192.168.100.0 192.168.100.23 1172435 0 1144711 0 0
lo0 32808 loopback localhost 64839 0 64839 0 0
The PPA number is 0.
2. run "lanadmin -g 0" a few times.
# lanadmin -g 0 | grep 'bound .*ets'
Inbound Octets = 14451186
Inbound Unicast Packets = 34766
Inbound Non-Unicast Packets = 150076
Outbound Octets = 5838
Outbound Unicast Packets = 0
Outbound Non-Unicast Packets = 139
# lanadmin -g 0 | grep 'bound .*ets'
Inbound Octets = 14451846
Inbound Unicast Packets = 34775
Inbound Non-Unicast Packets = 150078
Outbound Octets = 5838
Outbound Unicast Packets = 0
Outbound Non-Unicast Packets = 139
The commands were typed via telnet. Inbound statistics were increased to recieve the command lines. But outbound statistics were not changed. They should be incremented to display the command outputs.
Is there any patch or workaround? I have searched the patch database but I could not find related issues.
Thanks in advance.
I'm trying to get how many bytes the ethernet card receives and sends from C. It can be done by using DLPI and works fine on 11.23. But itdoesn't on 11.31. Outbound octets and packets are static. I had doubted my program but "lanadmin -g 0" was also same. I concluded that DLPI itself or network adapter didn't update the outbound statistics.
What I did:
1. check the PPA number.
# netstat -i
Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll
lan0 1500 192.168.100.0 192.168.100.23 1172435 0 1144711 0 0
lo0 32808 loopback localhost 64839 0 64839 0 0
The PPA number is 0.
2. run "lanadmin -g 0" a few times.
# lanadmin -g 0 | grep 'bound .*ets'
Inbound Octets = 14451186
Inbound Unicast Packets = 34766
Inbound Non-Unicast Packets = 150076
Outbound Octets = 5838
Outbound Unicast Packets = 0
Outbound Non-Unicast Packets = 139
# lanadmin -g 0 | grep 'bound .*ets'
Inbound Octets = 14451846
Inbound Unicast Packets = 34775
Inbound Non-Unicast Packets = 150078
Outbound Octets = 5838
Outbound Unicast Packets = 0
Outbound Non-Unicast Packets = 139
The commands were typed via telnet. Inbound statistics were increased to recieve the command lines. But outbound statistics were not changed. They should be incremented to display the command outputs.
Is there any patch or workaround? I have searched the patch database but I could not find related issues.
Thanks in advance.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-04-2010 11:33 PM
тАО04-04-2010 11:33 PM
Re: Outbound octets and packets displayed by lanadmin are not changed on 11.31.
hi ,
can you check with this also netstat -I lan0 -i 5 ...and if teh system is not in production and only testing system ....you can try resetting the lan through lanadmin command option.
regards ,
can you check with this also netstat -I lan0 -i 5 ...and if teh system is not in production and only testing system ....you can try resetting the lan through lanadmin command option.
regards ,
FrogIsDeaf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-05-2010 12:22 AM
тАО04-05-2010 12:22 AM
Re: Outbound octets and packets displayed by lanadmin are not changed on 11.31.
Thank you for your reply.
Here is the result.
$ netstat -I lan0 -i 5
(lan0)-> input output (Total)-> input output
packets packets packets packets
1225676 1196610 1293308 1264242
21 22 21 22
22 22 22 22
21 21 21 21
It looks fine. Output packets are increased steadily. I guess that it is because the layers to count up the number of packets are different. Whereas lanadmin and DLPI count up all packets, netstat counts up IP packets only.
The system is for testing. I'll ask to the system administrator how I can access the console directly, not by telnet, to reset the lan. Well, I'll do it the day after tomorrow.
Here is the result.
$ netstat -I lan0 -i 5
(lan0)-> input output (Total)-> input output
packets packets packets packets
1225676 1196610 1293308 1264242
21 22 21 22
22 22 22 22
21 21 21 21
It looks fine. Output packets are increased steadily. I guess that it is because the layers to count up the number of packets are different. Whereas lanadmin and DLPI count up all packets, netstat counts up IP packets only.
The system is for testing. I'll ask to the system administrator how I can access the console directly, not by telnet, to reset the lan. Well, I'll do it the day after tomorrow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-06-2010 11:37 PM
тАО04-06-2010 11:37 PM
Re: Outbound octets and packets displayed by lanadmin are not changed on 11.31.
I reset the lan but no luck.
# lanadmin -r 0
Resetting LAN Interface to run selftest.
Outbound statistics were not changed as before.
I used nwmgr also and got same result.
# nwmgr -r -v --force -c lan0
lan0: Reset interface succeeded.
A little progress. The issue's cause will be in intl100 subsystem. The HP-UX box has two interfaces. One is lan0 (intl100, 100Base-TX). The other is lan1 (igelan, 1000Base-T). I switched the cable from lan0 to lan1 and found that outbound statistics were updated regularly.
# lanadmin -r 0
Resetting LAN Interface to run selftest.
Outbound statistics were not changed as before.
I used nwmgr also and got same result.
# nwmgr -r -v --force -c lan0
lan0: Reset interface succeeded.
A little progress. The issue's cause will be in intl100 subsystem. The HP-UX box has two interfaces. One is lan0 (intl100, 100Base-TX). The other is lan1 (igelan, 1000Base-T). I switched the cable from lan0 to lan1 and found that outbound statistics were updated regularly.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP