EXPLANATION
Thw w command display who is logged into the Linux and Unix-like server,
and what they are doing at command execution time. The syntax is:
w
I suggest that you either read Linux w command examples page or see Linux w command man page for more information.
When you type "man {name of
command}" in terminal, you most often will get info from the Linux
Manual on that command (note: do not enter the brackets when typing the
command). i.e - man w
NAME w - Show who is logged on and what they are doing.
SYNOPSIS w [-husfVo] [user]
DESCRIPTION
w 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.
The JCPU time is the time used by all processes attached to
the tty. It does not include past background jobs, but does include
currently running background jobs.