From: MI <mi....@al...> - 2016-08-24 18:05:51
|
The simple netstat approach didn't work in the end, because on my system (Debian Jessie), it doesn't show "proftpd" during an upload. Instead, it shows pid/filename: # netstat -tpn Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name ... tcp 0 0 85.195.x.y:65231 96.239.59.96:58652 ESTABLISHED 57856/some_filename tcp6 0 0 85.195.x.y:21 96.239.59.96:58647 ESTABLISHED 57856/some_filename Strange. But nevermind, I settled on ftpcount instead. |