- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to get network throughput via DLPI API
Operating System - HP-UX
1821467
Members
2889
Online
109633
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
тАО05-17-2011 04:50 AM
тАО05-17-2011 04:50 AM
How to get network throughput via DLPI API
I would like to get network statistic value
first I use lanadmin -g PPA Number,
But I found a problem,if the PPA Number is a trunk ,it will need to press enter to continue
,but i use program to parse the text to get network throughput,
so I would like to use API to get network statistic value like below,
or anther way to solve the "press enter to continue "problem
how to do these via DLPI API
thanks
PPA Number = 0
Description = lan0 HP PCI-X 1000Base-T Release B.11.31.0803
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 1000000000
Station Address = 0x1b789fc135
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 460
Inbound Octets = 61332615
Inbound Unicast Packets = 36221
Inbound Non-Unicast Packets = 789874
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 7054
Outbound Octets = 45444803
Outbound Unicast Packets = 56647
Outbound Non-Unicast Packets = 388
Outbound Discards = 0
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
first I use lanadmin -g PPA Number,
But I found a problem,if the PPA Number is a trunk ,it will need to press enter to continue
,but i use program to parse the text to get network throughput,
so I would like to use API to get network statistic value like below,
or anther way to solve the "press enter to continue "problem
how to do these via DLPI API
thanks
PPA Number = 0
Description = lan0 HP PCI-X 1000Base-T Release B.11.31.0803
Type (value) = ethernet-csmacd(6)
MTU Size = 1500
Speed = 1000000000
Station Address = 0x1b789fc135
Administration Status (value) = up(1)
Operation Status (value) = up(1)
Last Change = 460
Inbound Octets = 61332615
Inbound Unicast Packets = 36221
Inbound Non-Unicast Packets = 789874
Inbound Discards = 0
Inbound Errors = 0
Inbound Unknown Protocols = 7054
Outbound Octets = 45444803
Outbound Unicast Packets = 56647
Outbound Non-Unicast Packets = 388
Outbound Discards = 0
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
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2011 04:55 AM
тАО05-17-2011 04:55 AM
Re: How to get network throughput via DLPI API
Hi,
are you using hp-ux 11.31?
lanadmin is obsolete in 11.31 and you should take a look at nwmgr command (man nwmgr) , it also collects statistics of an interface.
are you using hp-ux 11.31?
lanadmin is obsolete in 11.31 and you should take a look at nwmgr command (man nwmgr) , it also collects statistics of an interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2011 05:04 AM
тАО05-17-2011 05:04 AM
Re: How to get network throughput via DLPI API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2011 10:00 PM
тАО05-19-2011 10:00 PM
Re: How to get network throughput via DLPI API
I would use in HP-UX 11.11 11.23 11.31,
because when i use lanadmin -g PPA Number
there will a press to continue,but my program doesn't know it.So I would like to USE DPLI API,could any one give me a example like using command lanadmin -g PPA
thanks
because when i use lanadmin -g PPA Number
there will a press to continue,but my program doesn't know it.So I would like to USE DPLI API,could any one give me a example like using command lanadmin -g PPA
thanks
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