LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Application to monitor a ftp server? (https://www.linuxquestions.org/questions/linux-software-2/application-to-monitor-a-ftp-server-506618/)

zahadumy 12-01-2006 01:18 PM

Application to monitor a ftp server?
 
I have a ftp server on my computer. I was wondering if there is any application which would help me to keep track of how many clients are connected to my server, what files are they copying, etc. It would be nice to have an icon in the system tray to tell me if there is anyone connected to the server or not or maybe some way to tell me who and what is copying. Thank you.

bitva 12-15-2006 01:55 PM

You could get "primitive" results using a combination of netstat and lsof. I don't know of any tools otherwise that do that.

I know PureFTPd (http://www.pureftpd.org) comes with a tool to what those kind of things. I believe it's called pureftp-who.

zahadumy 12-16-2006 05:17 AM

Thanks.
Code:

lsof | grep vsftpd | grep 7rR
This gives the files that are being copied through ftp. I don't know what "7rR" means, but I noticed it puts this for the files being copied. So I can log everything now and write a Java GUI that every 5 minutes notices the user who and what is (or was) copying. Thank you again... I didn't know about lsof. :)


All times are GMT -5. The time now is 11:54 PM.