05-30-05 07:48 AM
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!
[ Post a follow-up to this message ]
|