From 9afeaf21d05ba0349be446a653718f5c2089bc0e Mon Sep 17 00:00:00 2001 From: Victor Wagner Date: Tue, 15 Oct 2013 12:41:01 +0400 Subject: [PATCH] add -W interactive --- activity | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5