From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,30a1f3f762cad7f5 X-Google-Attributes: gidfee84,public From: hermsen@worldaccess.nl (Robert Hermsen) Subject: Re: limit interactive login sessions? Date: 1996/07/31 Message-ID: #1/1 X-Deja-AN: 171262659 references: schreef: > 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 We had a similar problem, trying to limit the number of concurrent users on our system. A practical solution was to write a shell-script, which you can automatically run using cron, that is checking for processes that use exessive amounts of CPU time, and logging or killing them. In case of killing, be sure to check that the killing signal doesn't result in corrupted user data. Good luck in programming your scripts. :-)