We are facing some issues with the output of the "netstat -i" command on SUSE Linux Enterprise 9 with net-tools package 1.60-543.8.
Expected Output
Code:
# netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags
lo 0 0 345336185 0 0 0 345336185 0 0 0 BLRU
eth0 1500 0 972633 17 20 120 628711 217 0 0 BRU
Actual Output with SUSE Linux Enterprise 9 with net-tools version 1.60-543.8
Code:
# netstat -i
Kernel Interface table
Iface MTU Met RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flags
lo 0 0345336185 0 0 0345336185 0 0 0 BLRU
eth0 1500 0 972633 17 20 120 628711 217 0 0 BRU
As you see for some rows the columns for
Met and
RX-OK are merged and also that of
RX-OVR and
TX-OK! This output is causing some trouble in our programs as there is no space between columns. I am not sure whether it is OS issue or net-tools package issue. Please help me.
bhakta