LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-17-2005, 12:09 AM   #1
camrant
LQ Newbie
 
Registered: Jan 2005
Distribution: fedora
Posts: 2

Rep: Reputation: 0
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
 
Old 01-17-2005, 12:26 AM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
you can find all of this in /var/log/<logfile>
 
Old 01-17-2005, 01:00 AM   #3
Linux~Powered
Member
 
Registered: Jan 2004
Location: /lost+found
Distribution: Slackware 14.2
Posts: 849

Rep: Reputation: 33
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.

Last edited by Linux~Powered; 01-17-2005 at 01:40 AM.
 
Old 01-17-2005, 11:24 PM   #4
camrant
LQ Newbie
 
Registered: Jan 2005
Distribution: fedora
Posts: 2

Original Poster
Rep: Reputation: 0
thanx exactly what i wanted
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ipw2200 connected but not connected? snataw Linux - Wireless Networking 5 03-31-2005 08:12 AM
Can't get connected! Tillus Linux - Newbie 1 12-20-2004 01:50 PM
Limit connected items connected to my router andersh3 Linux - Newbie 1 03-16-2004 11:10 AM
2 pc connected.... yenonn Linux - Networking 8 06-25-2003 02:33 AM
How do I know if I'm connected? ludwig W Linux - General 25 04-08-2003 01:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration