Re: How to collect network information on LINUX platform

From: Benjamin Wang (zwang2_at_lucent.com)
Date: 05/31/05


Date: Tue, 31 May 2005 13:44:11 +0800

Vishal,

Thanks for your information!
The linux kernel I used is 2.4. Could it support SCTP?
I have checked /proc, but didn't get the data for SCTP.

Thanks,
Ben

"vishal" <vishal.ag@gmail.com> wrote in message
news:1117442882.530161.258570@g49g2000cwa.googlegroups.com...
> try `netstat -s`, it's portable and would give you most of the
> information you desire for protocols. As for interface statistics
> (frames delivered, errors, etc), try `netstat -i`.
>
> not sure if the linux netstat implementation is SCTP-aware though. as
> for ioctls, maybe you need to look at the netstat code; my guess is, it
> would be taking those values from /proc.
>
> vishal
>