home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!Germany.EU.net!rrz.uni-koeln.de!unidui!math.fu-berlin.de!mailgzrz.TU-Berlin.DE!camillo.fb12.tu-berlin.de!peba1231
- From: peba1231@camillo.fb12.tu-berlin.de (Peter Bartsch)
- Newsgroups: comp.unix.aix
- Subject: Re: How to redirect outputs from the command "time" into a file?
- Date: 10 Nov 1992 15:52:50 GMT
- Organization: TU Berlin, Inst. f. Luft- und Raumfahrt, FRG
- Lines: 23
- Distribution: world
- Message-ID: <1dolsiINNfuj@mailgzrz.TU-Berlin.DE>
- Reply-To: peba1231@camillo.fb12.tu-berlin.de
- NNTP-Posting-Host: camillo.fb12.tu-berlin.de
-
- >Hello, everyone:
- >
- >My first question is about saving outputs from the timing command
- >"time" into a file. I tried "time a.out > a.time", but it did not
- >work. How to capture the outputs into a file? ( I am running
- >AIX3.2 on RS/6000 model 550).
-
- In (t)csh, run your job within a subshell, like this:
-
- % (time some-important-program > vip_output) > time_output
-
- If you prefer to have both outputs in the same file:
-
- % (time some-important-program > vip_output) >> vip_output
-
- Peter
-
- ----------------------------------------------------------------------
- Peter Bartsch | Tel. +49 (0)30 314 23093
- TU Berlin, Sekr. F2 | FAX: +49 (0)30 314 22866
- Marchstr. 14 |
- 1000 Berlin 10 | e-mail: peba1231@camillo.fb12.tu-berlin.de
- ----------------------------------------------------------------------
-