* Process resource limits using tcsh 6.05
@ 1998-11-20 5:00 Dave Wolinski
1998-11-20 5:00 ` Serguei Patchkovskii
0 siblings, 1 reply; 2+ messages in thread
From: Dave Wolinski @ 1998-11-20 5:00 UTC (permalink / raw)
Hello,
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.
Thanks.
--------------------------------------------------
David Wolinski wolinski@umich.edu
Department of Physics Phone: (734) 936-6648
University of Michigan Fax: (734) 936-6753
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Process resource limits using tcsh 6.05
1998-11-20 5:00 Process resource limits using tcsh 6.05 Dave Wolinski
@ 1998-11-20 5:00 ` Serguei Patchkovskii
0 siblings, 0 replies; 2+ messages in thread
From: Serguei Patchkovskii @ 1998-11-20 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-11-20 5:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-11-20 5:00 Process resource limits using tcsh 6.05 Dave Wolinski
1998-11-20 5:00 ` Serguei Patchkovskii
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox