]> www.wagner.pp.ru Git - oss/vjournal.git/blob - activity
add -W interactive
[oss/vjournal.git] / activity
1 #!/bin/bash
2 while true; do sudo netstat -tp --numeric-ports ; done |awk -W interactive '/:80/&&$7!="-" {
3 if (!( ($4,$5) in a) ) {
4 print $4,$5,$7,$8;
5 a[$4,$5] = $7;
6 }
7 }' >log