-.\" $NetBSD: w.1,v 1.8 1997/11/01 03:28:22 mycroft Exp $
-.\"
.\" Copyright (c) 1980, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
.\" SUCH DAMAGE.
.\"
.\" @(#)w.1 8.1 (Berkeley) 6/6/93
+.\" $FreeBSD: src/usr.bin/w/w.1,v 1.17 2001/07/26 19:20:13 brian Exp $
.\"
.Dd June 6, 1993
.Dt W 1
-.Os BSD 4
+.Os
.Sh NAME
.Nm w
-.Nd "who present users are and what they are doing"
+.Nd "display who is logged in and what they are doing"
.Sh SYNOPSIS
.Nm
-.Op Fl hin
+.Op Fl dhin
.Op Fl M Ar core
.Op Fl N Ar system
-.Op Ar user
+.Op Ar user ...
.Sh DESCRIPTION
The
.Nm
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl d
+dumps out the entire process list on a per controlling
+tty basis, instead of just the top level process.
.It Fl h
Suppress the heading.
.It Fl i
default
.Dq /mach .
.It Fl n
-Show network addresses as numbers (normally
+Don't attempt to resolve network addresses (normally
.Nm
-interprets addresses and attempts to display them symbolically).
+interprets addresses and attempts to display them as names).
.El
.Pp
-If a
+If one or more
.Ar user
-name is specified, the output is restricted to that user.
+names are specified, the output is restricted to those users.
.Sh FILES
.Bl -tag -width /var/run/utmp -compact
.It Pa /var/run/utmp
list of users on the system
.El
.Sh SEE ALSO
-.Xr who 1 ,
.Xr finger 1 ,
.Xr ps 1 ,
-.Xr uptime 1
+.Xr uptime 1 ,
+.Xr who 1
.Sh BUGS
The notion of the
.Dq current process
null or garbaged arguments.
In these cases, the name of the command is printed in parentheses.
.Pp
-The
+The
.Nm
utility does not know about the new conventions for detection of background
jobs.
The
.Nm
command appeared in
-.Ux 3.0 .
+.Bx 3.0 .