Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Nice background processes?
@ 1996-02-16  5:00 Stefano Ducati
  1996-02-23  5:00 ` Juan C. Herr=?iso-8859-1?Q?=E1iz Regidor
  0 siblings, 1 reply; 3+ messages in thread
From: Stefano Ducati @ 1996-02-16  5:00 UTC (permalink / raw)


I'm sysadm on a DEC OSF 3.0 where the users are used to
put in backgound heavy processes slowing down the system.
 
Hou can I do to renice any user's  background process to keep 
healty the system????
 
Thanx
 
teD
---           http://www.dsi.unimi.it/Users/Tesi/ducati
`  `
  ` 0      mc7496@mclink.it       ducati@ghost.dsi.unimi.it
 ` /\  `    Stefano Ducati         Univ. Di Milano (Italy)
 ` \  ` `                   Trento    
___/___,   Quis fuit horrendos primus qui protulit enses ...
 





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Nice background processes?
  1996-02-16  5:00 Nice background processes? Stefano Ducati
@ 1996-02-23  5:00 ` Juan C. Herr=?iso-8859-1?Q?=E1iz Regidor
  1996-02-27  5:00   ` Ray Bellis
  0 siblings, 1 reply; 3+ messages in thread
From: Juan C. Herr=?iso-8859-1?Q?=E1iz Regidor @ 1996-02-23  5:00 UTC (permalink / raw)


Stefano Ducati wrote:
> 
> I'm sysadm on a DEC OSF 3.0 where the users are used to
> put in backgound heavy processes slowing down the system.
> 
> Hou can I do to renice any user's  background process to keep
> healty the system????
> 
> Thanx
> 
> teD
> ---           http://www.dsi.unimi.it/Users/Tesi/ducati
> `  `
>   ` 0      mc7496@mclink.it       ducati@ghost.dsi.unimi.it
>  ` /\  `    Stefano Ducati         Univ. Di Milano (Italy)
>  ` \  ` `                   Trento
> ___/___,   Quis fuit horrendos primus qui protulit enses ...
> 

	You can define the AUTONICE variable to 1. This will
	renice all job that are running more than 10 minutes
	of cpu. The variable can be set dinamically with
	rcmgr AUTONICE 1 or can be define when you create
	the kernel.

	I hope this help you.

	JC



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Nice background processes?
  1996-02-23  5:00 ` Juan C. Herr=?iso-8859-1?Q?=E1iz Regidor
@ 1996-02-27  5:00   ` Ray Bellis
  0 siblings, 0 replies; 3+ messages in thread
From: Ray Bellis @ 1996-02-27  5:00 UTC (permalink / raw)


In article <312DD6C7.3E23@sis.ucm.es> "Juan C. Herr=?iso-8859-1?Q?=E1iz Regidor" <jc@sis.ucm.es>?= writes:

> Stefano Ducati wrote:
> > 
> > I'm sysadm on a DEC OSF 3.0 where the users are used to
> > put in backgound heavy processes slowing down the system.
> > 
> > Hou can I do to renice any user's  background process to keep
> > healty the system????
> > 
> 
> 	You can define the AUTONICE variable to 1. This will
> 	renice all job that are running more than 10 minutes
> 	of cpu. The variable can be set dinamically with
> 	rcmgr AUTONICE 1 or can be define when you create
> 	the kernel.

Alternatively run my `autonice' daemon which progressively lowers the
priority of long-lived jobs.  You can get the latest version from:

  ftp://ftp.mrc-bbc.ox.ac.uk/pub/dec_alpha/autonice-0.4.tar.gz

For those of you already using autonice, I'm working on an enhanced
version which accepts a tiny subset of `C' as a run-time configuration
file.  This will allow configurations such as:

-- sample autonice.conf ---

/* don't to anything to root's processes */
if (user == "root") return;

if ((time >= 86400) && (nice < 20)) {

  /* kill processes more than 24 hours old that aren't nice 20 */
  kill(SIGHUP);

} else if ((time >= 3600) && (nice < 12)) {

  /* set nice 12 for processes an hour old that aren't already nice 12 */
  nice = 12;

} else if ((time >= 60) && (nice < 4)) {

  /* set nice 4 for processes older than a minute */
  nice = 4;

}

---

I'm hoping to release this version in a couple of weeks, I'll make an
official announcement when it's ready.

Ray.
-- 
  __  __     Computing Officer, MRC Research Centre in Brain and Behaviour,
 /_/ /_/ \/     Department of Experimental Psychology, Oxford University
/ \ / /  /  <http://www.mrc-bbc.ox.ac.uk/~rpb> <mailto:Ray.Bellis@psy.ox.ac.uk>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-02-27  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-02-16  5:00 Nice background processes? Stefano Ducati
1996-02-23  5:00 ` Juan C. Herr=?iso-8859-1?Q?=E1iz Regidor
1996-02-27  5:00   ` Ray Bellis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox