VAUGHAN@CANISIUS.BITNET (Tom Vaughan @ Computer Center) (10/19/87)
>... >What I would like to be able to do is say $ RUN MYPROGRAM/TOPCPU=50:30 >for example, so that myprogram will only run for 50 minutes, 30 >seconds of cpu. The time does not have to be dead on, anything >reasonable close would be ok. >... A solution as I understand the problem is satisfied by either of the following: SUBMIT /CPUTIME /CPUTIME=option Defines a CPU time limit for the batch job. You can specify a delta time (see Section 2.5 of the VAX/VMS DCL Concepts Manual), the value 0, or the keyword NONE or INFINITE for the option. RUN Process Command_Qualifiers /TIME_LIMIT /TIME_LIMIT=limit Specifies the maximum amount of CPU time (in delta time) allocated to the created process. The resolution is to ten milliseconds. When the time expires, the process is deleted. The default value is established at system generation time. A CPU time limit of 0 indicates that CPU time is not restricted; this is a typical value. These require the least amount of diddling an/or priv's. BITNET : vaughan@canisius CSNET : vaughan%canisius@CSNET-relay UUCP : ..!{ames,boulder,decvax,rutgers}!sunybcs!canisius!vaughan US MAIL: Thomas Vaughan/ Computer Center / Canisius College/ 2001 Main St./ Buffalo N.Y. 14208