LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 01: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, 01:26 AM   #2
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

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

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 02:40 AM.
 
Old 01-18-2005, 12:24 AM   #4
camrant
LQ Newbie
 
Registered: Jan 2005
Distribution: fedora
Posts: 2

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 09:12 AM
Can't get connected! Tillus Linux - Newbie 1 12-20-2004 02:50 PM
Limit connected items connected to my router andersh3 Linux - Newbie 1 03-16-2004 12:10 PM
2 pc connected.... yenonn Linux - Networking 8 06-25-2003 03:33 AM
How do I know if I'm connected? ludwig W Linux - General 25 04-08-2003 02:53 PM


All times are GMT -5. The time now is 08:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration