xref: /illumos-gate/usr/src/man/man1/times.1 (revision c4140c56306ad2a74081dd949618b4f3162dd06b)
te
Copyright 1989 AT&T Copyright (c) 1994 Sun Microsystems, Inc. - All Rights Reserved.
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
TIMES 1 "Apr 15, 1994"
NAME
times - shell built-in function to report time usages of the current shell
SYNOPSIS
"sh"

times
"ksh"

times
DESCRIPTION
"sh"

Print the accumulated user and system times for processes run from the shell.

"ksh"

Print the accumulated user and system times for the shell and for processes run from the shell.

On this man page, ksh(1) commands that are preceded by one or two * (asterisks) are treated specially in the following ways:

1. Variable assignment lists preceding the command remain in effect when the command completes.

2. I/O redirections are processed after variable assignments.

3. Errors cause a script that contains them to abort.

4. Words, following a command preceded by ** that are in the format of a variable assignment, are expanded with the same rules as a variable assignment. This means that tilde substitution is performed after the = sign and word splitting and file name generation are not performed.

SEE ALSO

ksh (1), sh (1), time (1), attributes (7)