How to list the users that currently logged in and the location?

0
26
List of currently logged users
Check List of Current Users Graphical Illustration

The w command is used in the Linux / Unix to see the list of users currently logged in the system, it shows what does the users currently doing.

The w command shows the current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes.

This information is displayed for the each user: login name, the tty name, the remote host they are logged in from, the amount of time they have been logged into the system, their idle time of the system, JCPU, PCPU, and the command line of their current process.

The JCPU time is the time attached to the tty which is used by all the processes, but it does not include any currently running background jobs. The PCPU time is the time used by the current process, named in the “What” field.

LEAVE A REPLY

Please enter your comment!
Please enter your name here