March 5, 2014

What is the meaning of w command?

Thw w command display who is logged into the Linux and Unix-like server, and...

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.

Like  (1 like)

When you type "man {name of command}" in terminal, you most often will get...

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.

Like  (2 likes)

When you type "man {name of command}" in terminal, you most often will get...

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.

Like  (2 likes)

From the w man page:...

From the w man page:

"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 min‐
utes."

This is an example output of the "w" command:

09:47:28 up 5 days, 12:37, 2 users, load average: 0.23, 0.41, 0.47
USER TTY LOGIN@ IDLE JCPU PCPU WHAT
zach tty1 Mon20 41:38m 11:17 0.00s xinit /home/zach/.xinitrc -- /et
zach pts/0 09:33 0.00s 0.01s 0.00s w
Like  (0 likes)

The w command in the Terminal basically shows which users are currently...

The w command in the Terminal basically shows which users are currently logged in and their activities.

To know more about this command, type 'man w' in the command line.

Like  (0 likes)

w = who, it's used to see who is currently logged into the system and what...

w = who, it's used to see who is currently logged into the system and what they are doing.

http://linux.about.com/library/cmd/blcmdl1_w.htm

Like  (0 likes)

w = who Here are some further details

w = who

Here are some further details

Like  (1 like)
Click Here!