- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Script to find details related to Networking - Dup...
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
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
тАО12-10-2009 11:54 AM
тАО12-10-2009 11:54 AM
Does any one have a script which kind of pulls details related to Duplex / Speed / Auto Negotiation / APA of the various LAN Cards on a servers? If yes, could you please point me to the link or share it with me?
Any input would be most appreciated.
Regards,
Kennedy Doss
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 12:08 PM
тАО12-10-2009 12:08 PM
SolutionNetperf
http://www.netperf.org/
Put this in a script and adjust for throughput, or speed and duplex which also be in lanadmin:
For example:
# (echo "lan,ppa,0,display,quit" | lanadmin 2>/dev/null) | grep Octets
Inbound Octets = 969135997
Outbound Octets = 201604344
# (echo "lan,ppa,0,display,quit" | lanadmin 2>/dev/null) | grep -i -e speed -e duplex
Wait 90 seconds...
# (echo "lan,ppa,0,display,quit" | lanadmin 2>/dev/null) | grep Octets
Inbound Octets = 984739384
Outbound Octets = 223847387
delta_rx = 984739384 - 969135997 = 15603387
delta_tx = 223847387 - 201604344 = 22243043
interval = 90
rate_rx = delta_rx/interval = 15603387/90 = 173370.97 bytes/s
rate_tx = delta_tx/interval = 22243043/90 = 247144.92 bytes/s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-10-2009 07:26 PM
тАО12-10-2009 07:26 PM
Re: Script to find details related to Networking - Duplex/Speed/AutoNegotiation
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 06:17 AM
тАО12-11-2009 06:17 AM
Re: Script to find details related to Networking - Duplex/Speed/AutoNegotiation
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-11-2009 06:41 AM
тАО12-11-2009 06:41 AM