I'm sure you meant strace netstat -rn Sarada wanted the "system call". Most of such info is available under the /proc tree. Most Linux networking utils (like netstat) use /proc. Cheers, -Sudhi. > -----Original Message----- > From: semat [mailto:semat@wawa.eahd.or.ug] > Sent: Tuesday, November 28, 2000 10:36 AM > To: Sarada Seshadri > Cc: linux-net@vger.kernel.org > Subject: Re: Default interface > > > how about netstat -rn > > On Tue, 28 Nov 2000, Sarada Seshadri wrote: > > > Hi all: > > > > Could anyone tell me what system call and option I use to > find out the > > default network interface (with which the default route is > associated)? > > > > Thanks very much. > > -Sarada > > > > > > - > > : send the line "unsubscribe > linux-net" in > > the body of a message to majordomo@vger.kernel.org > > > > - > : send the line "unsubscribe > linux-net" in > the body of a message to majordomo@vger.kernel.org > - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org