Linux.com

Home Learn Linux Linux Answers Internet What is the meaning of w command?
Answers
  • Answered by Atanere
    8 months ago
    0 0
  • 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

    Answered by herostyle
    8 months ago
    0 0
  • 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.

    Answered by jeanaustinr
    8 months ago
    0 0
  • 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
    
    Answered by archman27
    8 months ago
    0 0
  • 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.

    Answered by maverickrlp
    8 months ago
    0 0
  • 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.

    Answered by vivekgite
    8 months ago
    0 0
Please register/login to answer this question. Click here to login
Similar Questions Found
Questions from category Internet

Upcoming Linux Foundation Courses

  1. LFD320 Linux Kernel Internals and Debugging
    10 Nov » 14 Nov - Virtual
    Details
  2. LFS426 Linux Performance Tuning
    10 Nov » 13 Nov - Virtual
    Details
  3. LFD312 Developing Applications For Linux
    17 Nov » 21 Nov - Virtual
    Details

View All Upcoming Courses

Community Answers - Search


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board