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 11-24-2009, 04:14 PM   #1
deci007
Member
 
Registered: Sep 2007
Posts: 44

Rep: Reputation: 15
Current logged in users


I have 2 systems. (1) RHEL5 and (2) winXP pro

from xpPRO putty i ssh into rhel5 : user root
from xpPRO i ftp into rhel5 : user abc123

when i run
Code:
#uptime
it only shows 1 user
when i do
Code:
#ps -u abc123
: it shows vsftpd deamon PID

is there a command that can be used to show all currently loggen in users via what ever means...ftp,ssh,telnet etc...
 
Old 11-24-2009, 04:16 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Try "who".
 
Old 11-24-2009, 05:39 PM   #3
deci007
Member
 
Registered: Sep 2007
Posts: 44

Original Poster
Rep: Reputation: 15
Nope. #who will not work
 
Old 11-24-2009, 10:02 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
http://linux.die.net/man/1/w
 
Old 11-25-2009, 04:06 AM   #5
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,896

Rep: Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774Reputation: 774
Quote:
Originally Posted by deci007 View Post
Nope. #who will not work
If you are going to try answering posts like this, it would be helpful to say something more like " 'who' does x and I want y ". Otherwise it will be difficult to get subsequent help (particularly as 'who' seems to be the obvious answer to the question that you asked, even if it is not the answer to the question that you had in mind, as you should already know by now).
 
  


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
How to check if the current shell is where I logged in? anupamsr Linux - Newbie 7 02-13-2008 03:15 PM
Logged in users xlordt Linux - Newbie 3 11-01-2007 10:54 PM
4 of the same users logged on... true_atlantis Linux - Newbie 1 04-13-2006 11:54 PM
how to View Current Logged In Users scialom Linux - Software 1 10-20-2004 10:13 AM
No Users logged in X kaise_sose Linux - Software 2 10-19-2004 02:57 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration