I'm trying to get a similar output to that of Activity Monitor's total network In/Out KB/s via the command line. However, I can't use sudo, which rules out lsof and netstat's -w option results in "streaming" output: I need a command which returns/prints the total In/Out KB/s for en0 (wifi), then "ends" (i.e. doesn't "stream"). Is this possible? I've no objection to installing a third-party command via homebrew if there's a suitable tool out there. Thanks! EDIT: I know iStat Menus (and Activity Monitor) offer this, but I need to be able to call this script from another application and parse the output, so those apps don't help in this case.