|
|
1.1 root 1: .\" Copyright (c) 1980, 1990 Regents of the University of California.
2: .\" All rights reserved.
3: .\"
4: .\" Redistribution and use in source and binary forms are permitted provided
5: .\" that: (1) source distributions retain this entire copyright notice and
6: .\" comment, and (2) distributions including binaries display the following
7: .\" acknowledgement: ``This product includes software developed by the
8: .\" University of California, Berkeley and its contributors'' in the
9: .\" documentation or other materials provided with the distribution and in
10: .\" all advertising materials mentioning features or use of this software.
11: .\" Neither the name of the University nor the names of its contributors may
12: .\" be used to endorse or promote products derived from this software without
13: .\" specific prior written permission.
14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17: .\"
18: .\" @(#)w.1 6.6 (Berkeley) 7/27/90
19: .\"
20: .TH W 1 "%Q"
21: .UC 4
22: .SH NAME
23: w \- who is logged in and what they are doing
24: .SH SYNOPSIS
25: .B w
26: [
27: .B \-hi
28: ] [ user ]
29: .SH DESCRIPTION
30: .I W
31: prints a summary of the current activity on the system,
32: including what each user is doing.
33: The heading line shows the current time of day,
34: how long the system has been up,
35: the number of users logged into the system,
36: and the load averages.
37: The load average numbers give the number of jobs in the run queue
38: averaged over 1, 5 and 15 minutes.
39: .PP
40: The fields output are:
41: the users login name,
42: the name of the tty the user is on,
43: the host from which the user is logged in,
44: the time the user logged on,
45: the time since the user last typed anything,
46: the name and arguments of the current process.
47: .PP
48: The
49: .B \-h
50: flag suppresses the heading.
51: The
52: .B \-i
53: flag causes output to sorted by idle time.
54: The
55: .B \-flsuw
56: flags are no longer supported.
57: .PP
58: If a
59: .I user
60: name is included,
61: the output will be restricted to that user.
62: .SH FILES
63: .ta 1i
64: /var/run/utmp
65: .br
66: /dev/kmem
67: .br
68: /dev/drum
69: .SH "SEE ALSO"
70: who(1), finger(1), ps(1)
71: .SH BUGS
72: .PP
73: Sometimes processes, typically those in the background, are
74: printed with null or garbaged arguments.
75: In these cases, the name of the command is printed in parentheses.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.