Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/time Fix ambiguous/confusing wording.
details: https://anonhg.NetBSD.org/src/rev/3da6b70ee6e3
branches: trunk
changeset: 770045:3da6b70ee6e3
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Oct 02 01:47:27 2011 +0000
description:
Fix ambiguous/confusing wording.
diffstat:
usr.bin/time/time.1 | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diffs (88 lines):
diff -r f99a5bf80dba -r 3da6b70ee6e3 usr.bin/time/time.1
--- a/usr.bin/time/time.1 Sat Oct 01 21:47:08 2011 +0000
+++ b/usr.bin/time/time.1 Sun Oct 02 01:47:27 2011 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: time.1,v 1.21 2010/05/16 07:40:53 dholland Exp $
+.\" $NetBSD: time.1,v 1.22 2011/10/02 01:47:27 dholland Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" @(#)time.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd May 16, 2010
+.Dd October 1, 2011
.Dt TIME 1
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl clp
-.Ar utility
+.Ar command
.Op Ar argument ...
.Sh DESCRIPTION
The
@@ -46,15 +46,13 @@
utility
executes and
times
-.Ar utility .
-After the
-.Ar utility
-finishes,
+.Ar command .
+After the command finishes,
.Nm
writes the total time elapsed,
the time consumed by system overhead,
and the time used to execute
-.Ar utility
+the command
to the standard error stream.
Times are reported in seconds.
.Pp
@@ -68,8 +66,8 @@
.It Fl l
Lists resource utilization information.
The contents of the
-.Ar utility
-process'
+.Ar command
+process's
.Em rusage
structure are printed; see below.
.It Fl p
@@ -124,7 +122,7 @@
involuntary context switches
.El
Resource usage is the total for the execution of
-.Ar utility
+.Ar command
and any child processes it spawns, as per
.Xr wait4 2 .
.Sh EXIT STATUS
@@ -138,18 +136,18 @@
utility.
.It 126
The
-.Ar utility
+.Ar command
was found but could not be invoked.
.It 127
The
-.Ar utility
+.Ar command
could not be found.
.El
.Pp
Otherwise, the exit status of
.Nm
will be that of
-.Ar utility .
+.Ar command .
.Sh FILES
.Bl -tag -width \*[Lt]sys/resource.h\*[Gt] -compact
.It \*[Lt]sys/resource.h\*[Gt]
Home |
Main Index |
Thread Index |
Old Index