LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 04-18-2006, 01:43 AM   #1
RajRed
Member
 
Registered: Mar 2005
Posts: 66

Rep: Reputation: 15
command to show all the login users sessions


Is there a command to display all the login usernames, userids and the commands for each interactive login sessions,
like user1 with userid 510 and the commands this user were using such as "ls -l", "ps -aux" ...etc.

Thanks.
 
Old 04-18-2006, 03:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
that'll be the cryptically named "w" command i guess.
 
Old 04-18-2006, 06:10 AM   #3
nguyennh
Member
 
Registered: Feb 2006
Location: Vietnam
Distribution: FC , RH , SuSE
Posts: 106

Rep: Reputation: 15
Try this command
$ who -u
 
Old 04-18-2006, 09:24 AM   #4
RajRed
Member
 
Registered: Mar 2005
Posts: 66

Original Poster
Rep: Reputation: 15
w command did not show the UserID?
 
  


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
A way to have multiple simultaneous (XP-style) login sessions? greennick Linux - Software 4 02-09-2006 02:47 PM
Can't start concurrent X sessions with different users. rickh Debian 3 12-26-2005 09:52 PM
show last users login wisdom Programming 3 11-17-2005 03:56 AM
Java GUI via command line sessions? Giles Linux - General 2 09-28-2004 10:03 AM
Gnome Login sessions Ian Benjamin General 0 02-23-2001 10:04 AM


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