in reply to renice

Did you do
man setpriority
You'll want PRIO_PROCESS (which is 0) for the first argument, 0 (which means the current whatever, whatever being the current process, group, or user) for the second, then the priority for the third.

I suspect there must be some good way of getting at these constants, but I'm not quite sure how.

Replies are listed 'Best First'.
RE: Re: renice
by jettero (Monsignor) on Jul 19, 2000 at 04:04 UTC
    Actually I did ... I feel quite foolish. This I confirm'd to have worked: perl -e 'setpriority PRIO_PROCESS, 20498, 10'; where 20498 was the pid of my bash.