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. |
that'll be the cryptically named "w" command i guess.
|
Try this command
$ who -u |
w command did not show the UserID?
|
All times are GMT -5. The time now is 06:27 PM. |