Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site ucbvax.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!ucbvax!info-vax
From: info-vax@ucbvax.ARPA
Newsgroups: fa.info-vax
Subject: RE: cpu statistics and input/output redirect
Message-ID: <5179@ucbvax.ARPA>
Date: Sat, 2-Mar-85 02:23:59 EST
Article-I.D.: ucbvax.5179
Posted: Sat Mar  2 02:23:59 1985
Date-Received: Sun, 3-Mar-85 03:13:51 EST
Sender: daemon@ucbvax.ARPA
Organization: University of California at Berkeley
Lines: 35

From: (Stephen Tihor) 

If you have control over the input file or the input file is null then

the command:
		SPAWN/INPUT=NL:/OUTPUT=outfile/wait command

will to command outfile and the statistics will appear at then
end of the file.  Modifying the input file (assuming it contains no leading $
to end with $LOGOUT/FULL and doing a

		SPAWN/INPUT=modified_input_file/OUTPUT=outfile/WAIT command

will also work.  If the input file is something you don;t want to play with
making it:

		$ CREATE TIMECOM.COM
		$ ASSIGN inputfile SYS$INPUT /user
		$ ASSIGN outputfile SYS$OUTPUT /user
		$ command
		^Z

		$ SPAWN/INPUT=NL:/OUTPUT=timeinformationlocation/WAIT @TIMECOM

will handle it quickly.

Using any of the various command timing tools people have written over the
\years and submitted to the DECUS tapes is also functional but not useful
in a hurry if you don;t have the right tape.

 \\   Stephen Tihor / CIMS / NYU / 251 Mercer Street  / New York, NY 10012  //
((  DEC Enet: RHEA::DECWRL::"""TIHOR@NYU-CMCL1.ARPA"""  NYUnet: TIHOR.CMCL1  ))
 // ARPAnet: Tihor@NYU-CMCL1   UUCPnet address: ...!ihnp4!cmcl2!cmcl1!tihor \\

-------