csh time command help
jerryp at tektools.UUCP
jerryp at tektools.UUCP
Wed Oct 22 03:20:18 AEST 1986
In article <219 at mipos3.UUCP> pinkas at 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 at tektronix.csnet
Phone: +1 503 627-1603
More information about the Comp.unix
mailing list