[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] linux networking commands
- Subject: Re: [cobalt-users] linux networking commands
- From: shimi <shimi@xxxxxxxxxxxxxxxx>
- Date: Tue Jul 24 18:04:26 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Mon, 23 Jul 2001, Theo Jones wrote:
> Hello,
>
> I was wondering if anybody can offer any good command line functions
> for linux networking? Specifically I would like to test or probe my
> two network ports and see if they are working. Can you use nestat or top
> to pinpoint activity on the network interfaces perhaps?
>
> Thanks,
>
> T
>
> =====
> ##### * ##### * ##### * END MESSAGE * ##### * ##### * #####
>
> Theodore Jones
> space_biscuit@xxxxxxxxx
> yahoo_pager : space_biscuit
>
/sbin/ifconfig
look at the TX (transmitted) and RX (recieved) values for each interface.
also you can see there ethernet collisions, packets who never got through,
packets that were dropped, how many packets are waiting on the queue to be
sent, and some other info which I didn't bother find out. As usual, "man"
is your friend.
Example for output:
eth0 Link encap:Ethernet HWaddr [HIDDEN TO PROTECT THE INNOCENT;p]
inet addr:[MY IP] Bcast:[MY BROADCAST ADDR] Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8663972 errors:0 dropped:0 overruns:0 frame:0
TX packets:2164595 errors:0 dropped:0 overruns:0 carrier:0
collisions:85444 txqueuelen:100
Interrupt:11 Base address:0x6040
- shimi.