Howto auto-set fixed nice value for a user?

From: Nicola Pedrozzi (nikita_at_swissgalaxy.ch)
Date: 03/28/05


Date: Mon, 28 Mar 2005 14:51:26 +0200

Hello Linuxers,
I've browsed the news-groups many times without luck:

a couple of years ago I managed to set a fixed nice value
for each process started by a given user (actually the user
has no shwll access but some procmail processes start for him
each time a new mail arrives).

Now I have to do it again but I don't remember how I did...

The odd pri=+19 in /etc/passwd doesn't work.

'renice +19 -u username' only works for now-running jobs,
each new job keeps getting priority 0.

I'm running linux 2.4.27 - on a patched slackware-dist.

Thanks for your help,
nIc

-- 
IT Manager
Oval engineering sagl
Via Daro 6a
CH-6500 Bellinzona
nikita@oval.ch
nikita@swissgalaxy.ch
Tel: +41 91  825 42 85
Fax: +41 91  826 12 34
http://www.oval.ch
http://www.immogalaxy.ch


Relevant Pages

  • Re: RAFA AT THE CROSSROADS?
    ... dubious advantage of no title involvement, and the luck to get past 2 ... decent sides on the away goals and penalties rules, ... Defending the manager with the comforting "at least we got there" is a cop ... I wasn't waiting for Crouch to come on. ...
    (uk.sport.football.clubs.liverpool)
  • Re: RAFA AT THE CROSSROADS?
    ... dubious advantage of no title involvement, and the luck to get past 2 decent sides on the away goals and penalties rules, their failure to beat a side who did not turn up can only be looked on as a travesty. ... To blame the manager for this, with the argument that his tactics were wrong is ill-conceived and very blinkered thinking. ... Whatever the rights or wrongs of his original attack choice, at half time the whole world expected Crouch. ...
    (uk.sport.football.clubs.liverpool)
  • Howto auto-set fixed nice value for a user?
    ... I've browsed the news-groups many times without luck: ... 'renice +19 -u username' only works for now-running jobs, ... each new job keeps getting priority 0. ...
    (comp.os.linux)
  • Re: A nice telephone call!
    ... > programming job to drive a truck (they call them "lorries" in England, ... so best of luck to you! ... The manager I use to report to is now working in a store similar to ... But I think my lab skills are considered ancient as the ...
    (rec.pets.cats.anecdotes)
  • Re: [060414] When Friday Comes Before Saturday...
    ... But....but he was the best Yahoo manager ever once. ... Plus he'll always have the weight of history behind him...by which I ... If history only remembers who comes first, he has the league ... but good luck this weekend. ...
    (uk.sport.football)