* [LARTC] How to find the NIC Capacity / Bandwidth ?
@ 2003-04-30 11:28 Srikanth
2003-05-01 4:25 ` Martin A. Brown
2003-05-01 7:01 ` Srikanth
0 siblings, 2 replies; 3+ messages in thread
From: Srikanth @ 2003-04-30 11:28 UTC (permalink / raw)
To: lartc
Hi,
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.
thanks,
Srikanth.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] How to find the NIC Capacity / Bandwidth ?
2003-04-30 11:28 [LARTC] How to find the NIC Capacity / Bandwidth ? Srikanth
@ 2003-05-01 4:25 ` Martin A. Brown
2003-05-01 7:01 ` Srikanth
1 sibling, 0 replies; 3+ messages in thread
From: Martin A. Brown @ 2003-05-01 4:25 UTC (permalink / raw)
To: lartc
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_id\x146%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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] How to find the NIC Capacity / Bandwidth ?
2003-04-30 11:28 [LARTC] How to find the NIC Capacity / Bandwidth ? Srikanth
2003-05-01 4:25 ` Martin A. Brown
@ 2003-05-01 7:01 ` Srikanth
1 sibling, 0 replies; 3+ messages in thread
From: Srikanth @ 2003-05-01 7:01 UTC (permalink / raw)
To: lartc
Dear Martin,
Thanks for the quickest response.
I've downloaded ethtool-1.6.tar.gz from the freshmeat.net, and
customized the "ethtool.c"
It's giving the Speed of 10Mb/s.
regards,
Srikanth.
Martin A. Brown wrote:
>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_id\x146%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
>
>
>
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-01 7:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-30 11:28 [LARTC] How to find the NIC Capacity / Bandwidth ? Srikanth
2003-05-01 4:25 ` Martin A. Brown
2003-05-01 7:01 ` Srikanth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.