Monitor FTP sessions

Status
Not open for further replies.

tbaror

Contributor
Joined
Mar 20, 2013
Messages
105
Hello All ,

Is there a way to monitor who ,and how many ftp's sessions are currently connected to the ftp?
Thanks
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
the "sockstat" command will tell you how many connections of various types and to which daemons are currently active...

if you're using IPv4 only (like most of us), then
Code:
sockstat -4

will give you the information you want.
 

tbaror

Contributor
Joined
Mar 20, 2013
Messages
105
Thanks , i found under ProFtpd doc's few shell command like
Code:
ftpwho -v

Code:
ftptop

Thank you
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Thanks , i found under ProFtpd doc's few shell command like
Code:
ftpwho -v

Code:
ftptop

Thank you
No, thank *YOU*. I didn't know about those commands (guess I should read the proftpd manual). Those are VERY useful!!!
 

DrKK

FreeNAS Generalissimo
Joined
Oct 15, 2013
Messages
3,630
Wow! There's quite a few of these things, with interesting names! I plan on reading up.
Code:
root@sftpserver:/usr/local/bin # ll ftp*
-rwxr-xr-x  1 root  wheel  33550 Apr 21 02:29 ftpasswd
-rwxr-xr-x  1 root  wheel  17152 Apr 21 02:29 ftpcount
-rwxr-xr-x  1 root  wheel  69608 Apr 21 02:29 ftpdctl
-rwxr-xr-x  1 root  wheel  14015 Apr 21 02:29 ftpmail
-rwxr-xr-x  1 root  wheel  32353 Apr 21 02:29 ftpquota
-rwxr-xr-x  1 root  wheel  21248 Apr 21 02:29 ftptop
-rwxr-xr-x  1 root  wheel  21408 Apr 21 02:29 ftpwho
 
Status
Not open for further replies.
Top