From: patchkov@acs1.acs.ucalgary.ca (Serguei Patchkovskii)
Subject: Re: Process resource limits using tcsh 6.05
Date: 1998/11/20 [thread overview]
Message-ID: <734v5v$119c@ds2.acs.ucalgary.ca> (raw)
In-Reply-To: 3655F09D.41C6@umich.edu
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
prev parent reply other threads:[~1998-11-20 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-11-20 5:00 Process resource limits using tcsh 6.05 Dave Wolinski
1998-11-20 5:00 ` Serguei Patchkovskii [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox