Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Florian Weps <fweps@pop.agri.ch>
Subject: Re: Default priority for background jobs?
Date: 07 Jul 2001 21:15:21 +0200	[thread overview]
Message-ID: <87d77cft4m.fsf@bubulina.localdomain.localnet> (raw)
In-Reply-To: 3b4708d3_1@news2.prserv.net

stefand@attglobal.net (Stefan A. Deutscher) writes:

> Hi all,
> 
>    I am running a bunch of Tru64 machines (Compaq XP-1000 and ES-40)
> which are used both as compute servers and interactive workstations.
> Alas, it seems too hard for some of the users to (bother to) submit
> background jobs with nice, which makes interactive work unpleasant for
> others.
> 
> Is there a way to get Tru64 to take care of that? I know I can write a
> shell script that parses 'top' putput and renice all jobs which take
> more than n% of CPU, run for more than m minutes and are not from root,
> sys, daemon, ... but before reinventing the wheel I'd rather ask. I
> recall that on AIX there are some simple stanzas for that -- what can I
> do on Tru64? (In case it matters, am running normal security.)
> 
> OS version is 4.0F and up.

You might want to try the Class Scheduler. It lets you define classes
of processes and set up limits on the CPU usage for each class. Check out

o The System Configuration and Tuning manual (on-line or on your
  documentation CD)
o the System Administration manual
o class_scheduling(4)
o class_admin(8)
o runclass(1)
o classcntl(2)

This facility is available at least from 4.0F onward. It works very
well, and you don't have to fool around with niceness.

Florian

-- 
This thing, that hath a code and not a core,
Hath set acquaintance where might be affections,
And nothing now
                Disturbeth his reflections.          -- Ezra Pound, "An Object"


  reply	other threads:[~2001-07-07 19:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-07 14:04 Default priority for background jobs? Stefan A. Deutscher
2001-07-07 19:15 ` Florian Weps [this message]
2001-07-09  2:28 ` Eric Bennett
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