Penguin
Annotated edit history of w(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 W
2 !!!W
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 COMMAND-LINE OPTIONS
7 FILES
8 SEE ALSO
9 AUTHORS
10 ----
11 !!NAME
12
13
14 w - Show who is logged on and what they are doing.
15 !!SYNOPSIS
16
17
18 __w -__ [[__husfV__] [[''user'']
19 !!DESCRIPTION
20
21
22 __w__ displays information about the users currently on
23 the machine, and their processes. The header shows, in this
24 order, the current time, how long the system has been
25 running, how many users are currently logged on, and the
26 system load averages for the past 1, 5, and 15
27 minutes.
28
29
30 The following entries are displayed for each user: login
31 name, the tty name, the remote host, login time, idle time,
32 JCPU, PCPU, and the command line of their current
33 process.
34
35
36 The JCPU time is the time used by all processes attached to
37 the tty. It does not include past background jobs, but does
38 include currently running background jobs.
39
40
41 The PCPU time is the time used by the current process, named
42 in the
43 !!COMMAND-LINE OPTIONS
44
45
46 __-h__
47
48
49 Don't print the header.
50
51
52 __-u__
53
54
55 Ignores the username while figuring out the current process
56 and cpu times. To demonstrate this, do a
57
58
59 __-s__
60
61
62 Use the short format. Don't print the login time, JCPU or
63 PCPU times.
64
65
66 __-f__
67
68
69 Toggle printing the __from__ (remote hostname) field. The
70 default as released is for the __from__ field to not be
71 printed, although your system administrator or distribution
72 maintainer may have compiled a version in which the
73 __from__ field is shown by default.
74
75
76 __-V__
77
78
79 Display version information.
80
81
82 __user__
83
84
85 Show information about the specified user only.
86 !!FILES
87
88
89 ''/var/run/utmp''
90
91
92 information about who is currently logged on
93
94
95 ''/proc''
96
97
98 process information
99 !!SEE ALSO
100
101
102 free(1), ps(1), top(1),
103 uptime(1), utmp(5), who(1)
104 !!AUTHORS
105
106
107 __w__ was re-written almost entirely by Charles Blake,
108 based on the version by Larry Greenfield
109 __
110
111
112 Please send bug reports to
113 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.