LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   who's connected (https://www.linuxquestions.org/questions/linux-newbie-8/whos-connected-278718/)

camrant 01-17-2005 12:09 AM

who's connected
 
How can i see who is connected to my server? Primary interest are those connected via FTP, and if possible ip addresses connecting to the websites located on server.

already tried cmds: w, who, and finger

bosewicht 01-17-2005 12:26 AM

you can find all of this in /var/log/<logfile>

Linux~Powered 01-17-2005 01:00 AM

Code:

netstat -tn | grep ':21'
Will show you everyone connected to port 21 which is your FTP with their address.

Code:

netstat -tulnap
Will show you all connections.

camrant 01-17-2005 11:24 PM

thanx exactly what i wanted


All times are GMT -5. The time now is 07:50 AM.