3 ms·
If you have system monitoring tools, then you could make on of the things it monitors a script that does netstat -plan | grep -v 127.0.0.1 | grep -v ::1 | grep
by jimktrains2 13y ago
If you have system monitoring tools, then you could make on of the things it monitors a script that does netstat -plan | grep -v 127.0.0.1 | grep -v ::1 | grep -v ssh | grep -v <anything you know should be running> | wc -l
- ars 13y agoDon't use -a though :) Use -t to avoid listing local sockets. So -pltn not -plan