- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to query how many bytes the ethernet card ...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
тАО03-24-2010 12:04 AM
тАО03-24-2010 12:04 AM
How to query how many bytes the ethernet card receives and sends on HP-UX?
Thank u very much for any help, it is quite urgent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 12:13 AM
тАО03-24-2010 12:13 AM
Re: How to query how many bytes the ethernet card receives and sends on HP-UX?
http://www.netperf.org
You can get compiled binaries from porting archive:
http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/netperf-1.7.1/
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 12:20 AM
тАО03-24-2010 12:20 AM
Re: How to query how many bytes the ethernet card receives and sends on HP-UX?
MAximum bytes you can get like
Ipkts (from netstat -in)*MTU=bytes
MTU is maximum transmission unit.
to get the actual value you would need third party tools.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 02:08 AM
тАО03-24-2010 02:08 AM
Re: How to query how many bytes the ethernet card receives and sends on HP-UX?
http://munin-monitoring.org/
It seems that the plugin for HP-UX also uses netstat -in as the source of the data.
See
http://munin-monitoring.org/browser/trunk/node/node.d.hp-ux/netstat_rate_tcp_.in?rev=1404
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 05:09 AM
тАО03-24-2010 05:09 AM
Re: How to query how many bytes the ethernet card receives and sends on HP-UX?
The
Example:
To get the traffic statistics of lan1:
# lanadmin -g 1
LAN INTERFACE STATUS DISPLAY
Wed, Mar 24,2010 15:01:27
PPA Number = 1
Description = lan1 HP PCI-X 1000Base-T Release B.11.31.0709.
01
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 1000000000
Station Address = 0x110a42adb6
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 267
Inbound Octets = 2940170422
Inbound Unicast Packets = 2830375214
Inbound Non-Unicast Packets = 22790734
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 6515494
Outbound Octets = 2989997330
Outbound Unicast Packets = 85267744
Outbound Non-Unicast Packets = 35162
Outbound Discards = 0
Outbound Errors = 0
Outbound Queue Length = 1
Specific = 655367
Ethernet-like Statistics Group
Index = 2
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
In HP-UX 11.31 (and above), you should use nwmgr instead. Example for lan1:
nwmgr --st mib -c lan1
*** lan1 64 bit MIB statistics:
Interface Name = lan1
PPA Number = 1
Description = lan1 HP PCI-X 1000Base-T Release B.11.31.0709.01
Interface Type = 1000Base-T
MTU Size = 1500
Speed = 1 Gbps
Station Address = 0x00110A42ADB6
Administration Status = UP
Operation Status = UP
Last Change = Sat Oct 31 22:56:05 2009
Inbound Octets = 204804034642
Inbound Unicast Packets = 2830377326
Inbound Multicast Packets = 0
Inbound Broadcast Packets = 22792187
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 6515719
Outbound Octets = 11580353438
Outbound Unicast Packets = 85270743
Outbound Multicast Packets = 0
Outbound Broadcast Packets = 35162
Outbound Discards = 0
Outbound Errors = 0
Counter Discontinuity Time = Sat Oct 31 22:56:04 2009
Physical Promiscuous Mode = FALSE
Physical Connector Present = TRUE
Interface Alias =
Link Up/Down Trap Enable = Enabled
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-24-2010 04:42 PM
тАО03-24-2010 04:42 PM
Re: How to query how many bytes the ethernet card receives and sends on HP-UX?
As for netperf, it is a generator of load, not simply a reporting tool, so it would not be indicated. And, that version listed is positively ancient. netperf is up to version 2.4.5 from netperf.org.