runs netstat and dumps output to stdout