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