From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1ef798c57342f92e X-Google-Attributes: gidfee84,public From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii) Subject: Re: Process resource limits using tcsh 6.05 Date: 1998/11/20 Message-ID: <734v5v$119c@ds2.acs.ucalgary.ca>#1/1 X-Deja-AN: 414044183 References: <3655F09D.41C6@umich.edu> Organization: The University of Calgary Newsgroups: comp.unix.osf.osf1 Dave Wolinski (wolinski@umich.edu) wrote: : Does anyone know how to use the tcsh to impose hard : limits on system resources (e.g. cpu time) for all users? : One can insert a "limit cpu XX:XX" statement into /etc/csh.cshrc : which is executed for every user, but then a clever user can simply : reset the limit. I need a way to set the _hard_ limit, but the tcsh man : page does not tell you how to do that. $ man tcsh ... limit [-h] [resource [maximum-use]] Limits the consumption by the current process and each process it creates to not individually exceed maximum-use on the specified resource. If no maximum-use is given, then the current limit is printed; if no resource is given, then all limitations are given. If the -h flag is given, the hard limits are used instead of the ^^^^^^^^^^^^^^^^^^^^^^^ current limits. The hard limits impose a ceiling on the values of the current limits. Only the super-user may raise the hard limits, but a user may lower or raise the current limits within the legal range. ... /Serge.P