LinuxQuestions.org
Review your favorite Linux distribution.
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 04-18-2006, 12: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, 02:42 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
that'll be the cryptically named "w" command i guess.
 
Old 04-18-2006, 05: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, 08:24 AM   #4
RajRed
Member
 
Registered: Mar 2005
Posts: 66

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


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

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

All times are GMT -5. The time now is 04:17 PM.

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