Research V3 development
authorDennis Ritchie <dmr@research.uucp>
Mon, 12 Feb 1973 12:57:07 +0000 (07:57 -0500)
committerDennis Ritchie <dmr@research.uucp>
Mon, 12 Feb 1973 12:57:07 +0000 (07:57 -0500)
Work on file man/man1/who.1

Co-Authored-By: Ken Thompson <ken@research.uucp>
Synthesized-from: v3

man/man1/who.1 [new file with mode: 0644]

diff --git a/man/man1/who.1 b/man/man1/who.1
new file mode 100644 (file)
index 0000000..61dd392
--- /dev/null
@@ -0,0 +1,42 @@
+.pa 1
+.he 'WHO (I)'3/15/72'WHO (I)'
+.ti 0
+NAME           who  --  who is on the system
+.sp
+.ti 0
+SYNOPSIS       who\b\b\b___ [ who-file ]
+.sp
+.ti 0
+DESCRIPTION    who\b\b\b___, without an argument,
+lists the name, typewriter channel, and login time
+for each current UNIX user.
+
+Without an argument,
+who\b\b\b___ examines the /tmp/utmp\b\b\b\b\b\b\b\b\b_________
+file to obtain its information.
+If a file is given, that file is examined.
+Typically the given file will be /tmp/wtmp\b\b\b\b\b\b\b\b\b_________,
+which contains a record of all the logins since it
+was created.
+Then who\b\b\b___ will list
+logins, logouts, and crashes since the creation of
+the wtmp file.
+
+Each login is listed with user name, last character
+of input device name (with /dev/tty\b\b\b\b\b\b\b\b________ suppressed),
+date and time.
+Certain logouts produce a similar line without a user name.
+Reboots produce a line with "x" in the place of the device name,
+and a fossil time indicative of when the system went down.
+.sp
+.ti 0
+FILES          /tmp/utmp
+.sp
+.ti 0
+SEE ALSO       login(I), init(VII)
+.sp
+.ti 0
+DIAGNOSTICS    "?" if a named file cannot be read.
+.sp
+.ti 0
+BUGS           --