Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

netstat -c option

1 view
Skip to first unread message

Vipul

unread,
Nov 29, 2001, 7:12:01 PM11/29/01
to
Hi,

I am looking for netstat sources for Red Hat 6.1 distribution.
I want to pass in an argument to control the sleep interval,
instead of defaulting to 1 second. Can anyone please point me
to the correct sources, or to a binary if they have already done
this.

Actually I have tried modifying the net-tools-1.54 sources, but
have NOT been able to get that compiled version working, when the
"-c" option is specified. It fails doing ioctl of SIOCGIFCONF
with an error message: "Inappropriate ioctl for device". This
failure happens on the 1st ioctl immediately following the
sleep(1) due to the "-c" option.

thanks in advance.
Vipul.
vp...@informix.com

0 new messages