How to collect network information on LINUX platform
From: Benjamin Wang (zwang2_at_lucent.com)
Date: 05/30/05
- Next message: William Ahern: "Re: getting pathname from descriptor"
- Previous message: vishal: "Re: getting pathname from descriptor"
- Next in thread: vishal: "Re: How to collect network information on LINUX platform"
- Reply: vishal: "Re: How to collect network information on LINUX platform"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 May 2005 16:00:01 +0800
Hello,
I need to collect some network information about TCP, IP, UDP and SCTP on
linux platform. About IP, I need to collect such as number of packets
received , packets transmitted, bytes received, bytes transmitted, bad
packets received, packet transmit errors, received packets dropped and
transmit packets dropped.
About TCP and UDP, I need to collect the number of connection opens,
segments received and so on. About SCTP, I need to collect the number of
failed connection attempts, chunks received and so on.
I think i could get some of them from the file /proc/net/snmp. But for bytes
received and resets sent, I do not know how to get it. And I don't know how
to get information about SCTP.
Could you tell me how I can get those inforamtion? Also, could I get thost
information by ioctl()? how?
Thanks very much!
- Next message: William Ahern: "Re: getting pathname from descriptor"
- Previous message: vishal: "Re: getting pathname from descriptor"
- Next in thread: vishal: "Re: How to collect network information on LINUX platform"
- Reply: vishal: "Re: How to collect network information on LINUX platform"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|