home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!beany.austin.ibm.com!srao
- From: srao@beany.austin.ibm.com (Satish Rao)
- Newsgroups: comp.unix.aix
- Subject: Re: How to redirect outputs from the command "time" into a file?
- Message-ID: <1992Nov16.151604.15504@awdprime.austin.ibm.com>
- Date: 16 Nov 92 15:16:04 GMT
- References: <1992Nov5.023656.1850@cs.tulane.edu>
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Organization: "Personal Systems Programming, IBM Austin"
- Lines: 25
-
- In article <1992Nov5.023656.1850@cs.tulane.edu> mt0lamg@convex1.tcs.tulane.edu (Louis X. Lee) writes:
- >
- >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).
- You are using the shell's builtin time command. Run
- /bin/time a.out 2>a.time , or
- /bin/time a.out 1>a.time 2>&1
- >
- >My second related question is about the meanings of the outputs
- >from the command "time". I guess "real time" is real time, but what
- >is "user time"? What is "system time"? InfoExplorer does not
- >provide me with a satisfactory answer.
- >
- user time -- Time spent in user mode
- System time -- Time spent in kernel mode
-
- --
- Satish Rao Consultant, cmdinstl
- 512-838-3428 Internet:srao@beany.austin.ibm.com
- Vnet: S25499@ausvm6
- Neither IBM nor Princeton share or back the opinions expressed here
-