From: Bob Vickers <R.Vickers@dcs.rhbnc.ac.uk>
To: mkannapa@pms167.pd9.ford.com
Subject: Re: limit interactive login sessions?
Date: 1996/07/31 [thread overview]
Message-ID: <4tn90h$cqb@sun.rhbnc.ac.uk> (raw)
In-Reply-To: Pine.OSF.3.91.960730144753.14885B-100000-100000@pms167.pd9.ford.com
Mohan Kannapareddy <mkannapa@pms167.pd9.ford.com> wrote:
>
>Greetings
> I am looking for a way to limit an interactive login session
> for say 1000s of CPU time. Basically, I would like everyone
> whose jobs take more than 1000s CPU time to run in batch mode.
> The current batch environment is Crays NQE.
> How do I limit "non-root" process interactive limit?
> I am running the Digital UNIX version 4.0
> Thanks in Advance
> cheers
> Mohan
You want to use the ulimit command in /etc/profile and the limit command in the
C-shell startup file (probably /etc/csh.login). See the man pages for sh, ksh,
bash, csh, tcsh ...
On OSF 3.2 the Bourne shell only lets you set soft limits, not hard limits. I
don't know whether this is still true in DUnix 4.0.
Bob
--
==============================================================================
Bob Vickers R.Vickers@dcs.rhbnc.ac.uk
Department of Computer Science, Royal Holloway College, University of London
WWW: http://www.dcs.rhbnc.ac.uk/~bobv/
Phone: +44 1784 443691
next prev parent reply other threads:[~1996-07-31 4:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-07-30 4:00 limit interactive login sessions? Mohan Kannapareddy
1996-07-30 4:00 ` Mike O'Connor
1996-07-31 4:00 ` Bob Vickers [this message]
-- strict thread matches above, loose matches on Subject: below --
1996-07-31 4:00 Robert Hermsen
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