Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

Interface Errors

Ethtool

watch -n 1 "ethtool -S enp1s0 | grep rx_"

Netstat

netstat -iS
netstat -s | egrep "err|reset|drop" -i

Netsh

C:\> netsh interface ipv4 show tcpstats

Powershell

Get-NetAdapterStatistics | fl * | findstr Err
Get-WmiObject Win32_PerfFormattedData_Tcpip_Networkinterface | Select Name, PacketsReceivedErrors, PacketsOutboundErrors

show commands (ie: Check Point)

show interface counter error
show interface | i Fast | i errors
show interface ethernet1/3