Sponsored Content
Full Discussion: Check for network issues
Top Forums UNIX for Dummies Questions & Answers Check for network issues Post 302453630 by rajamadhavan on Thursday 16th of September 2010 12:55:09 AM
Old 09-16-2010
Also Linux has ethtool which shows lots of error stats.

Code:
>> ethtool -S eth0
NIC statistics:
     rx_octets: 1532329526
     rx_fragments: 0
     rx_ucast_packets: 13546269
     rx_mcast_packets: 75555
     rx_bcast_packets: 1750122
     rx_fcs_errors: 0
     rx_align_errors: 0
     rx_xon_pause_rcvd: 0
     rx_xoff_pause_rcvd: 0
     rx_mac_ctrl_rcvd: 0
     rx_xoff_entered: 0
     rx_frame_too_long_errors: 0
     rx_jabbers: 0
     rx_undersize_packets: 0
     rx_in_length_errors: 0
     rx_out_length_errors: 0
     rx_64_or_less_octet_packets: 0
     rx_65_to_127_octet_packets: 0
     rx_128_to_255_octet_packets: 0
     rx_256_to_511_octet_packets: 0
     rx_512_to_1023_octet_packets: 0
     rx_1024_to_1522_octet_packets: 0
     rx_1523_to_2047_octet_packets: 0
     rx_2048_to_4095_octet_packets: 0
     rx_4096_to_8191_octet_packets: 0
     rx_8192_to_9022_octet_packets: 0
     tx_octets: 2444808212
     tx_collisions: 0
     tx_xon_sent: 0
     tx_xoff_sent: 0
     tx_flow_control: 0
     tx_mac_errors: 0
     tx_single_collisions: 0
     tx_mult_collisions: 0
     tx_deferred: 0
     tx_excessive_collisions: 0
     tx_late_collisions: 0
     tx_collide_2times: 0
     tx_collide_3times: 0
     tx_collide_4times: 0
     tx_collide_5times: 0
     tx_collide_6times: 0
     tx_collide_7times: 0
     tx_collide_8times: 0
     tx_collide_9times: 0
     tx_collide_10times: 0
     tx_collide_11times: 0
     tx_collide_12times: 0
     tx_collide_13times: 0
     tx_collide_14times: 0
     tx_collide_15times: 0
     tx_ucast_packets: 11054317
     tx_mcast_packets: 8789
     tx_bcast_packets: 2640
     tx_carrier_sense_errors: 0
     tx_discards: 0
     tx_errors: 0
     dma_writeq_full: 0
     dma_write_prioq_full: 0
     rxbds_empty: 0
     rx_discards: 0
     rx_errors: 0
     rx_threshold_hit: 0
     dma_readq_full: 0
     dma_read_prioq_full: 0
     tx_comp_queue_full: 0
     ring_set_send_prod_index: 0
     ring_status_update: 0
     nic_irqs: 0
     nic_avoided_irqs: 0
     nic_tx_threshold_hit: 0

 

9 More Discussions You Might Find Interesting

1. IP Networking

Network issues, computer hangs.

Not sure if this is the right section for this. Move if necessary Hey guys, Just wanting to know if anyone has had a similar experience. I have a FreeBSD 4.8 gateway machine with a dual boot win98/FreeBSD machine connected to it. When I'm in windows and playing a game, Diablo II or Star... (11 Replies)
Discussion started by: BSeanD
11 Replies

2. SCO

Sco Unix network issues

I have got a Sco Unix Server, i want to connect some windows workstations. What configurations do i need to make on server and or workstation? (1 Reply)
Discussion started by: tpurazi1
1 Replies

3. UNIX for Dummies Questions & Answers

Network printer issues

Hello, I have been having a problem with printing to a network printer on my LAN, I am able to ping all ports from the server and the printer. Print request just stay in the print que the only way to print is from the parallel line to the server. Any ideas on what can be going wrong?? Lp sched is... (1 Reply)
Discussion started by: ostac
1 Replies

4. Solaris

Solaris Network Interface and USB Drive issues

Hi I had installed Sun Solaris 10 on my dell vostro 1400.Problem is iam unable to mount the usb drives as there was no detections at all.And also iam unable to find my network interface or iam not able to install the network card. If try to type ifconfig -a It is showing only loop back... (4 Replies)
Discussion started by: testerindia25
4 Replies

5. UNIX for Dummies Questions & Answers

Does SCP return an error code for network issues

Hello everyone, In a script, I am using SCP to copy huge file to another host. scp -qrp hugefile.txt /opt/perf05/tmp However, we have noticed that this file is not being copied. I am suspecting this was because we are losing connection while copying this... (1 Reply)
Discussion started by: qwarentine
1 Replies

6. IP Networking

Test Network Routing Issues (FREEBSD and RHEL)

Hello, I'm attempting to setup a test network with a client-server based architecture using a proprietary application. The client works by communicating with the server on separate links (typically cellular connections) and then initiates a tunnel over each active link. However, in place of the... (0 Replies)
Discussion started by: shadyuk
0 Replies

7. HP-UX

Network Connectivity Issues

Newbie with UNIX here. Currently troubleshooting a UNIX terminal we have. I determined it to be bad and swapped it out with a known good terminal. I went in and changed the IP address and host name to reflect the old terminal. Although now there is no connectivity. I swapped out the NIC... (1 Reply)
Discussion started by: kevinlord190
1 Replies

8. SuSE

Connection is broken because of underlying network issues

Hi Guys, I have two databases where I copy archivelog files from server A to server B frequently...yesterday we did the VM upgrade now...I am struggling to copy/ship the files from server A to server B... I manually tested the file transfer but the big files, e.g 46M, stall. I can copy small... (2 Replies)
Discussion started by: Phuti
2 Replies

9. Emergency UNIX and Linux Support

Network related issues

Oflate we are finding a few servers experiencing severe slowness. What would be the commands that I need to try to postmortem the situation? (3 Replies)
Discussion started by: ggayathri
3 Replies
ETHTOOL(8)						      System Manager's Manual							ETHTOOL(8)

NAME
ethtool - Display or change ethernet card settings SYNOPSIS
ethtool ethX ethtool -h ethtool -a ethX ethtool -A ethX [autoneg on|off] [rx on|off] [tx on|off] ethtool -c ethX ethtool -C ethX [adaptive-rx on|off] [adaptive-tx on|off] [rx-usecs N] [rx-frames N] [rx-usecs-irq N] [rx-frames-irq N] [tx-usecs N] [tx- frames N] [tx-usecs-irq N] [tx-frames-irq N] [stats-block-usecs N] [pkt-rate-low N] [rx-usecs-low N] [rx-frames-low N] [tx-usecs-low N] [tx-frames-low N] [pkt-rate-high N] [rx-usecs-high N] [rx-frames-high N] [tx-usecs-high N] [tx-frames-high N] [sample-interval N] ethtool -g ethX ethtool -G ethX [rx N] [rx-mini N] [rx-jumbo N] [tx N] ethtool -i ethX ethtool -d ethX ethtool -e ethX ethtool -k ethX ethtool -K ethX [rx on|off] [tx on|off] [sg on|off] ethtool -p ethX [N] ethtool -r ethX ethtool -S ethX ethtool -t ethX [offline|online] ethtool -s ethX [speed 10|100|1000] [duplex half|full] [port tp|aui|bnc|mii] [autoneg on|off] [phyad N] [xcvr internal|external] [wol p|u|m|b|a|g|s|d...] [sopass xx:yy:zz:aa:bb:cc] [msglvl N] DESCRIPTION
ethtool is used for querying settings of an ethernet device and changing them. ethX is the name of the ethernet device to work on. OPTIONS
ethtool with a single argument specifying the device name prints current setting of the specified device. -h shows a short help message. -a queries the specified ethernet device for pause parameter information. -A change the pause parameters of the specified ethernet device. autoneg on|off Specify if pause autonegotiation is enabled. rx on|off Specify if RX pause is enabled. tx on|off Specify if TX pause is enabled. -c queries the specified ethernet device for coalescing information. -C change the coalescing settings of the specified ethernet device. -g queries the specified ethernet device for rx/tx ring parameter information. -G change the rx/tx ring parameters of the specified ethernet device. rx N Change number of ring entries for the Rx ring. rx-mini N Change number of ring entries for the Rx Mini ring. rx-jumbo N Change number of ring entries for the Rx Jumbo ring. tx N Change number of ring entries for the Tx ring. -i queries the specified ethernet device for associated driver information. -d retrieves and prints a register dump for the specified ethernet device. -e retrieves and prints an EEPROM dump for the specified ethernet device. -k queries the specified ethernet device for checksumming information. -K change the checksumming parameters of the specified ethernet device. rx on|off Specify if RX checksumming is enabled. tx on|off Specify if TX checksumming is enabled. sg on|off Specify if scatter-gather is enabled. -p initiates adapter-specific action intended to enable an operator to easily identify the adapter by sight. typically this involves blinking one or more LEDs on the specific ethernet port. N Length of time to perform phys-id, in seconds. -r restarts auto-negotiation on the specified ethernet device, if auto-negotiation is enabled. -S queries the specified ethernet device for NIC- and driver-specific statistics. -t executes adapter selftest on the specified ethernet device. Possible test modes are: offline|online defines test type: offline (default) means to perform full set of tests possibly causing normal operation interruption during the tests, online means to perform limited set of tests do not interrupting normal adapter operation. -s option allows changing some or all settings of the specified ethernet device. All following options only apply if -s was specified. speed 10|100|1000 Set speed in Mb/s. ethtool with single argument will show you the supported device speeds. duplex half|full Set full or half duplex mode. port tp|aui|bnc|mii Select device port. autoneg on|off Specify if autonegotiation is enabled. In the usual case it is, but might cause some problems with some network devices, so you can turn it off. phyad N PHY address. xcvr internal|external Select transceiver type. Currently only internal and external can be specified, in the future further types might be added. wol p|u|m|b|a|g|s|d... Set Wake-on-LAN options. Not all devices support this. The argument to this option is a string of characters specifying which options to enable. p Wake on phy activity u Wake on unicast messages m Wake on multicast messages b Wake on broadcast messages a Wake on ARP g Wake on MagicPacket(tm) s Enable SecureOn(tm) password for MagicPacket(tm) d Disable (wake on nothing). This option clears all previous options. sopass xx:yy:zz:aa:bb:cc Set the SecureOn(tm) password. The argument to this option must be 6 bytes in ethernet MAC hex format (xx:yy:zz:aa:bb:cc). msglvl N Set the driver message level. Meanings differ per driver. BUGS
Not supported (in part or whole) on all ethernet drivers. AUTHOR
ethtool was written by David Miller. Modifications by Jeff Garzik, Tim Hockin, Jakub Jelinek, Andre Majorel, Eli Kupermann. AVAILABILITY
ethtool is available over the Web on the SourceForge site at http://sourceforge.net/projects/gkernel/ Ethtool version 1.6 June 2002 ETHTOOL(8)
All times are GMT -4. The time now is 08:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy