add simple functions for netstat