w (Unix)

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
w
Repository
  • {{URL|example.com|optional display text}}Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
Engine
    Lua error in Module:EditAtWikidata at line 29: attempt to index field 'wikibase' (a nil value).
    Operating systemUnix and Unix-like
    TypeCommand

    The command w on many Unix-like operating systems provides a quick summary of every user logged into a computer,[1] what each user is currently doing, and what load all the activity is imposing on the computer itself. The command is a one-command combination of several other Unix programs: who, uptime, and ps -a.

    Example

    [edit | edit source]

    Sample output (which may vary between systems):

    $ w
     11:12am up 608 day(s), 19:56,  6 users,  load average: 0.36, 0.36, 0.37
    User     tty       login@  idle  what
    smithj   pts/5      8:52am       w
    jonesm   pts/23    20Apr06    28 -bash
    harry    pts/18     9:01am     9 pine
    peterb   pts/19    21Apr06       emacs -nw html/index.html
    janetmcq pts/8     10:12am 3days -csh
    singh    pts/12    16Apr06  5:29 /usr/bin/perl -w perl/test/program.pl
    

    References

    [edit | edit source]
    1. ^ Lua error in Module:Citation/CS1/Configuration at line 2172: attempt to index field '?' (a nil value).
    [edit | edit source]