🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: net.arch
Article #3051

Re: csh time command help

#3051
From: jerryp
Date: Tue, 21 Oct 1986 17:20
26 lines
1904 bytes
In article <219@mipos3.UUCP> pinkas@mipos3.UUCP (Israel Pinkas) writes:
>Can anyone tell me what all the fields that the csh time command prints out
>are?  When I do something like 'time ls' in csh, I get:
>
>	1.3u 0.7s 0:11 19% 23+79k 3+0io 2pf+0w

A year or two ago, David Brown ({zehntel,amd,fortune,resonex}!varian!david)
posted a manual page for the csh "time" command.  The man page was actually
written by Mark Wittenberg ({zehntel,varian}!rtech!mark).

Among the neat, undocumented stuff in it was the fact that you can change the
output format of the "time" command by setting a shell variable named "time".
For instance, here's a setting I like to use:

set time=(0 "user=%U sec, system=%S sec, elapsed=%E min, cpu use=%P, %W swaps,\
  %I disk reads, %O disk writes.  Data+stack+text pages: %K avg., %M max.")

The man page was written for 4.1bsd csh; I don't know if it much has changed
for 4.[23]bsd.  If anyone wants a copy of the man page, let me know.
If I get enough requests, I'll post it to net.sources.

--Jerry Peek, Tektronix, Inc.
US Mail:    MS 74-900, P.O. Box 500, Beaverton, OR 97077
uucp:       {allegra,decvax,hplabs,ihnp4,ucbvax}!tektronix!tektools!jerryp
CS,ARPAnet: jerryp%tektools@tektronix.csnet
Phone:      +1 503 627-1603
Technical Details
Message-ID: <1760@tektools.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!caip!think!mit-eddie!genrad!decvax!tektronix!tekgen!tektools!jerryp
References: <717@cbmvax.cbmvax.cbm.UUCP> <219@mipos3.UUCP> <358@encore.UUCP>

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!columbia!rutgers!caip!think!mit-eddie!genrad!decvax!tektronix!tekgen!tektools!jerryp
From: jerryp@tektools.UUCP
Newsgroups: net.arch,net.unix
Subject: Re: csh time command help
Message-ID: <1760@tektools.UUCP>
Date: Tue, 21-Oct-86 13:20:18 EDT
Article-I.D.: tektools.1760
Posted: Tue Oct 21 13:20:18 1986
Date-Received: Wed, 22-Oct-86 22:40:41 EDT
References: <717@cbmvax.cbmvax.cbm.UUCP> <219@mipos3.UUCP> <358@encore.UUCP>
Reply-To: jerryp@tektools.UUCP (Jerry Peek)
Organization: Tektronix, Inc., Beaverton, OR.
Lines: 26