From: Victor Wagner Date: Tue, 15 Oct 2013 08:41:01 +0000 (+0400) Subject: add -W interactive X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=9afeaf21d05ba0349be446a653718f5c2089bc0e;p=oss%2Fvjournal.git add -W interactive --- diff --git a/activity b/activity index 0ba311c..a37a135 100644 --- a/activity +++ b/activity @@ -1,5 +1,5 @@ #!/bin/bash -while true; do sudo netstat -tp --numeric-ports ; done |awk '/:80/&&$7!="-" { +while true; do sudo netstat -tp --numeric-ports ; done |awk -W interactive '/:80/&&$7!="-" { if (!( ($4,$5) in a) ) { print $4,$5,$7,$8; a[$4,$5] = $7;