Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using vsftpd. Now I would like to now if - and if, who - someone is currently connected to the server.

Is it possible to find out, if anybody is connected, how many and even who is connected?

share|improve this question

You should set setproctitle_enable to YES in your vsftpd.conf. From man 5 vsftpd.conf:

If enabled, vsftpd will try and show session status information in the system process listing. In other words, the reported name of the process will change to reflect what a vsftpd session is doing (idle, downloading etc). You probably want to leave this off for security purposes.

Now you can do a ps axuw | grep vsftp (or whatever you like) and see connected users.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.