From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin A. Brown" Date: Thu, 01 May 2003 04:25:10 +0000 Subject: Re: [LARTC] How to find the NIC Capacity / Bandwidth ? Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Srikanth, : Any body having idea to find the NIC Capacity / BW (10 / 100 Mbps) ? : Whether the interface may be eth0/eth1/ppp0 or some other. Is there any : related IOCTL avialable, if so just give the linux-2.4.18 file path. For ethernet interfaces (devices), you should be able to determine the negotiated speed with either a device specific diagnostic utility (e.g., tulip-diag), or, with recent kernels and drivers, mii-diag, mii-tool, and the preferred ethtool. You can find the source to ethtool here: http://freshmeat.net/projects/ethtool/?topic_id6%2C150 If this doesn't provide your answer, you may find a faster (if terser) answer from linux-net....as for determining speed of a serial link from the interface or device--I have no idea! Maybe somebody else on the list? Best of luck, -Martin -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/