LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   command to show all the login users sessions (https://www.linuxquestions.org/questions/linux-newbie-8/command-to-show-all-the-login-users-sessions-436259/)

RajRed 04-18-2006 12:43 AM

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.

acid_kewpie 04-18-2006 02:42 AM

that'll be the cryptically named "w" command i guess.

nguyennh 04-18-2006 05:10 AM

Try this command
$ who -u

RajRed 04-18-2006 08:24 AM

w command did not show the UserID?


All times are GMT -5. The time now is 06:27 PM.