Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As the title states, I would like to be able to view who is connected to my ProFtpd server at any given time as well as monitor the bandwidth used at any given time. Is this possible and if so, how do I set it up?
Thank you very much in advance!
Ooo! I got another one! Can I use ProFtpd to host images on...say... a forum like this one?
Last edited by AudioMechanic; 05-22-2005 at 09:32 PM.
You can use "netstat -nap | grep EST" and it should show you who is connected at the moment. If you want more ongoing view, just combine it with the "watch" command. So you can do...
watch 'netstat -nap | grep EST'
and that will show a continuous refresh of that command which will show all your connected traffic including your proftpd people. Mine shows the connected username also.
Bandwidth? I don't know of a way to view it in realtime, but you could setup MRTG to watch your eth0 performace. You could also tail the log files which should show you the bytes transferred. But this isn't exactly what you wanted.
To host images, you can upload them using proftpd, but you'll probably need to have a web server running also to serve these images when requested. That way, you reference your images using http URLs. I don't think ftp URLs will work for what you're wanting to do.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.