* cpu usage ??
@ 2001-08-24 0:06 Super-User
2001-08-24 0:18 ` Des Coughlan
` (4 more replies)
0 siblings, 5 replies; 9+ messages in thread
From: Super-User @ 2001-08-24 0:06 UTC (permalink / raw)
Dear all
Does exist a way to limit the cpu usage for users or process ?
thanks in advance
rodrigo, DGF. U de Chile
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: cpu usage ??
2001-08-24 0:06 cpu usage ?? Super-User
@ 2001-08-24 0:18 ` Des Coughlan
2001-08-24 0:23 ` David Logan
` (3 subsequent siblings)
4 siblings, 0 replies; 9+ messages in thread
From: Des Coughlan @ 2001-08-24 0:18 UTC (permalink / raw)
On Thu, 23 Aug 2001 20:06:07 -0400, Super-User <rodrigo@dgf.uchile.cl> wrote:
> Does exist a way to limit the cpu usage for users or process ?
FreeBSD has classes, which achieve this.
--
Des Coughlan |Restez Zen ... UNIX peut le faire
desmond@cybercable.fr |YGL#4 YFC#1 YFB#1 UKRMMA#14 two#38 BONY#48 ANORAK#11
http://www.chez.com/desmondcoughlan/
Cl� Publique: http://www.chez.com/desmondcoughlan/pgp/pubring.pkr
*****************************************************************************
Free, Uncensored IRC Server: 212.198.69.6 #ukrm
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: cpu usage ??
2001-08-24 0:06 cpu usage ?? Super-User
2001-08-24 0:18 ` Des Coughlan
@ 2001-08-24 0:23 ` David Logan
2001-08-24 1:32 ` Nick Bachmann
2001-08-24 0:40 ` Larry Kilgallen
` (2 subsequent siblings)
4 siblings, 1 reply; 9+ messages in thread
From: David Logan @ 2001-08-24 0:23 UTC (permalink / raw)
Hi Rodrigo,
For solaris, have a look at the man page for ulimit. This enables you to
limit users by cpu time as well as a number of other parameters.
Regards
Super-User wrote:
>
> Dear all
> Does exist a way to limit the cpu usage for users or process ?
>
> thanks in advance
> rodrigo, DGF. U de Chile
--
_______________________________________________________________
David Logan 102 Cameron Street
Telstra Broadband e-Lab Launceston Tas 7250
Australia
Ph : (03) 6323 2667
Fax: (03) 6323 2666
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: cpu usage ??
2001-08-24 0:23 ` David Logan
@ 2001-08-24 1:32 ` Nick Bachmann
2001-08-24 6:47 ` Michael Heiming
0 siblings, 1 reply; 9+ messages in thread
From: Nick Bachmann @ 2001-08-24 1:32 UTC (permalink / raw)
David Logan wrote:
> Hi Rodrigo,
>
> For solaris, have a look at the man page for ulimit. This enables you to
> limit users by cpu time as well as a number of other parameters.
>
This is a Bash builtin, and should also be available on any system using
bash. I just get a "see 'man bash'" manpage, but a standard page is
available at http://www.ss64.demon.co.uk/bash/ulimit.html.
[sniped]
--
Regards,
N
-----------------------------------
Nicholas Bachmann
nabachmann@yahoo.com
http://hermie.freeshell.org
"To Boldly Go Where Angels Fear To Tread"
-From the Infocom Game "Stationfall"
----------------------------------
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cpu usage ??
2001-08-24 1:32 ` Nick Bachmann
@ 2001-08-24 6:47 ` Michael Heiming
0 siblings, 0 replies; 9+ messages in thread
From: Michael Heiming @ 2001-08-24 6:47 UTC (permalink / raw)
Nick Bachmann wrote at Friday 24 August 2001 03:32 like only he can:
> David Logan wrote:
>
>> Hi Rodrigo,
>>
>> For solaris, have a look at the man page for ulimit. This enables
>> you to limit users by cpu time as well as a number of other
>> parameters.
>>
>
>
> This is a Bash builtin, and should also be available on any system
> using
> bash. I just get a "see 'man bash'" manpage, but a standard page is
> available at http://www.ss64.demon.co.uk/bash/ulimit.html.
'ulimit' works with other shells, (Ie. ksh), 'ulimit -a' should show.
'man <whatever_shell> should contain info about ulimit.
Some systems do have additional possibilities to limit the users
resource usage.
Michael Heiming
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cpu usage ??
2001-08-24 0:06 cpu usage ?? Super-User
2001-08-24 0:18 ` Des Coughlan
2001-08-24 0:23 ` David Logan
@ 2001-08-24 0:40 ` Larry Kilgallen
2001-08-24 5:50 ` Adam Price
2001-08-24 16:52 ` Graham Allan
4 siblings, 0 replies; 9+ messages in thread
From: Larry Kilgallen @ 2001-08-24 0:40 UTC (permalink / raw)
In article <3B859A6F.9F714AC1@dgf.uchile.cl>, Super-User <rodrigo@dgf.uchile.cl> writes:
> Dear all
> Does exist a way to limit the cpu usage for users or process ?
On VMS for per-user limits use the command:
MCR AUTHORIZE MODIFY <username>/CPUTIME=<whatever>
On VMS for per-process limits, modify your $CREPRC call to specify
the PQL$_CPULM quota.
There are corresponding methods from DCL and when setting up Batch queues.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: cpu usage ??
2001-08-24 0:06 cpu usage ?? Super-User
` (2 preceding siblings ...)
2001-08-24 0:40 ` Larry Kilgallen
@ 2001-08-24 5:50 ` Adam Price
2001-08-24 16:52 ` Graham Allan
4 siblings, 0 replies; 9+ messages in thread
From: Adam Price @ 2001-08-24 5:50 UTC (permalink / raw)
"Super-User" <rodrigo@dgf.uchile.cl> wrote in message news:3B859A6F.9F714AC1@dgf.uchile.cl...
> Dear all
> Does exist a way to limit the cpu usage for users or process ?
>
For processes just kill them when you think they have used enough CPU,
for users the same technique can land you in trouble with the law
but it is just as effective.
Adam
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: cpu usage ??
2001-08-24 0:06 cpu usage ?? Super-User
` (3 preceding siblings ...)
2001-08-24 5:50 ` Adam Price
@ 2001-08-24 16:52 ` Graham Allan
2001-08-30 2:14 ` Peter Kahn
4 siblings, 1 reply; 9+ messages in thread
From: Graham Allan @ 2001-08-24 16:52 UTC (permalink / raw)
Super-User <rodrigo@dgf.uchile.cl> writes:
> Dear all
> Does exist a way to limit the cpu usage for users or process ?
Since this is cross-posted to comp.sys.dec, on Tru64 you could also take
a look at "man class_scheduler"
Graham
--
^ permalink raw reply [flat|nested] 9+ messages in thread* Re: cpu usage ??
2001-08-24 16:52 ` Graham Allan
@ 2001-08-30 2:14 ` Peter Kahn
0 siblings, 0 replies; 9+ messages in thread
From: Peter Kahn @ 2001-08-30 2:14 UTC (permalink / raw)
Checkout ulimit's man page. You can limit cpu time
--
Peter Kahn
Software Epidemiologist
pkahn@meetingmaker.com
http://www.meetingmaker.com
"Graham Allan" <allan@physics.umn.edu.nospam> wrote in message
news:w53wv3te6yo.fsf@pitcairn.spa.umn.edu...
> Super-User <rodrigo@dgf.uchile.cl> writes:
>
> > Dear all
> > Does exist a way to limit the cpu usage for users or process ?
>
> Since this is cross-posted to comp.sys.dec, on Tru64 you could also take
> a look at "man class_scheduler"
>
> Graham
> --
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2001-08-30 2:14 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-24 0:06 cpu usage ?? Super-User
2001-08-24 0:18 ` Des Coughlan
2001-08-24 0:23 ` David Logan
2001-08-24 1:32 ` Nick Bachmann
2001-08-24 6:47 ` Michael Heiming
2001-08-24 0:40 ` Larry Kilgallen
2001-08-24 5:50 ` Adam Price
2001-08-24 16:52 ` Graham Allan
2001-08-30 2:14 ` Peter Kahn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox