In my session today at MacTech Conference, I shared a tip about viewing the transfer statistics from the Network Utility app.

I also mentioned that I had reverse engineered out how to pull these same numbers from the command line.  A couple people asked me for these commands afterwards, so here they are…

Send Errors…
netstat -I en0 | grep en0 | awk ‘{print $8}’ | sed -n 1p

Receive Errors…
netstat -I en0 | grep en0 | awk ‘{print $6}’ | sed -n 1p

Collisions…
netstat -I en0 | grep en0 | awk ‘{print $9}’ | sed -n 1p