Operating System - HP-UX
1753555 Members
5622 Online
108796 Solutions
New Discussion юеВ

Re: How to check Lan0 total packet send and receive details in HP Unix 11.31

 
rajesh73
Super Advisor

How to check Lan0 total packet send and receive details in HP Unix 11.31

How to check HP Unix servers Lan0 total packet send/receive details

What is the command
3 REPLIES 3
Patrick Wallek
Honored Contributor

Re: How to check Lan0 total packet send and receive details in HP Unix 11.31

At the most basic level, netstat.

 

ftp-11.11 root /root # netstat -in                                                                                                      
Name      Mtu  Network         Address         Ipkts     Ierrs   Opkts     Oerrs Coll
lan1      1500 192.192.192.0   192.192.192.2   73491162    0     98613225   0     0   
lan0      1500 10.10.100.0     10.10.100.41    305102850   1     223230302  0     0   
lo0       4136 127.0.0.0       127.0.0.1       19840485    0     19840485   0     0  
Patrick Wallek
Honored Contributor

Re: How to check Lan0 total packet send and receive details in HP Unix 11.31

If you need more information, use landadmin.  The '0' at the end of the command is the digit from lan0, lan1, etc.

ftp-11.11 root /root # lanadmin -g mibstats 0

                      LAN INTERFACE STATUS DISPLAY
                       Fri, Jan 11,2019  08:22:58

PPA Number                      = 0
Description                     = lan0 HP PCI 10/100Base-TX Core [100BASE-TX,FD,AUTO,TT=1500]
Type (value)                    = ethernet-csmacd(6)
MTU Size                        = 1500
Speed                           = 100000000
Station Address                 = 0x306ec3c1b9
Administration Status (value)   = up(1)
Operation Status (value)        = up(1)
Last Change                     = 676
Inbound Octets                  = 1022089333
Inbound Unicast Packets         = 286149553
Inbound Non-Unicast Packets     = 20724276
Inbound Discards                = 0
Inbound Errors                  = 1
Inbound Unknown Protocols       = 956
Outbound Octets                 = 3728559790
Outbound Unicast Packets        = 207401980
Outbound Non-Unicast Packets    = 3428037
Outbound Discards               = 591
Outbound Errors                 = 0
Outbound Queue Length           = 0
Specific                        = 655367

Ethernet-like Statistics Group

Index                           = 1
Alignment Errors                = 0
FCS Errors                      = 0
Single Collision Frames         = 0
Multiple Collision Frames       = 0
Deferred Transmissions          = 0
Late Collisions                 = 0
Excessive Collisions            = 0
Internal MAC Transmit Errors    = 0
Carrier Sense Errors            = 0
Frames Too Long                 = 0
Internal MAC Receive Errors     = 0

Mani_Np
HPE Pro

Re: How to check Lan0 total packet send and receive details in HP Unix 11.31

Hello Rajesh,

In HPUX 11.31 , You can use nwmgr command instead of lanadmin to get Inbound and Outbound packet details.

Please find an example:

# nwmgr --st -c lan6

***          lan6 64 bit MIB statistics:
Interface Name               = lan6
PPA Number                   = 6
Description                  = lan6 HP PCIe 1000Base-T Release B.11.31.1503
Interface Type               = 1000Base-T
MTU Size                     = 1500
Speed                        = 1.000000 Gbps
Station Address              = 0x9C8E9935FF8E
Administration Status        = UP
Operation Status             = UP
Last Change                  = Sun Dec 23 13:36:52 2018
Inbound Octets               = 2188059005
Inbound Unicast Packets      = 47254344
Inbound Multicast Packets    = 2562312
Inbound Broadcast Packets    = 5317481
Inbound Discards             = 0
Inbound Errors               = 0
Inbound Unknown Protocols    = 0
Outbound Octets              = 910371778
Outbound Unicast Packets     = 11829830
Outbound Multicast Packets   = 0
Outbound Broadcast Packets   = 286561
Outbound Discards            = 109
Outbound Errors              = 0
Counter Discontinuity Time   = Sun Dec 23 13:31:46 2018
Physical Promiscuous Mode    = TRUE
Physical Connector Present   = TRUE
Interface Alias              =
Link Up/Down Trap Enable     = Enabled

Hope this helps you.

Regards,
Manikandan
I work for HPE

Accept or Kudo