- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to get n/w card statistics
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
Forums
Discussions
Discussions
Discussions
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
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
02-26-2002 09:05 PM
02-26-2002 09:05 PM
How to get n/w card statistics
Is there a way i can get the following statistics from my C++ program ?
1)Packets received
2)Receive errors
3)Packets transmitted
4)Transmit errors
Thanks,
Prakash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2002 09:34 PM
02-26-2002 09:34 PM
Re: How to get n/w card statistics
You use the lanadmin menu based program or netstat to get some stats. I not know of a way to do this via the command line using any C program.
You could also use glance and measureware to
get some performance stats.
Have a look at this link:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x29fc5e938a10d6118ff40090279cd0f9,00.html
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 06:09 AM
02-27-2002 06:09 AM
Re: How to get n/w card statistics
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/
It's free and it works well on UNIX or WinNT.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 06:23 AM
02-27-2002 06:23 AM
Re: How to get n/w card statistics
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 07:22 AM
02-27-2002 07:22 AM
Re: How to get n/w card statistics
netstat -I (packet in and out counts, no errors)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 10:12 PM
02-27-2002 10:12 PM
Re: How to get n/w card statistics
On HPUX 11i netstat -I shows only the incoming packets & outgoing packets. It doesn't show the collision and errors.
$ netstat -I lan0
Name Mtu Network Address Ipkts Opkts
lan0 1500 15.70.177.0 nask5 216315 148912
lanadmin shows all the lan info, but only in menu mode.
regards,
Prakash.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-27-2002 11:42 PM
02-27-2002 11:42 PM
Re: How to get n/w card statistics
# netstat -s
Hope this helps. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2002 07:57 AM
02-28-2002 07:57 AM
Re: How to get n/w card statistics
echo "l\np 0\nd\n" | /usr/sbin/lanadmin
Change p 0 to p 1 or p 3 for each of your LAN interfaces.
Bill Hassell, sysadmin