The w command displays information about the users currently on the machine, and their processes. The header shows, in this order, 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. The following entries are displayed for each user: login name, the tty name, the remote host, login time, idle time, JCPU, PCPU, and the command line of their current process.Read answer to: "UNIX / Linux List Current Logged In Users"
w command: Show who is logged on and what they are doing
by Nix Craft on March 12, 2013· LAST UPDATED March 12, 2013