[arch-general] renice Bash at login
Leonidas Spyropoulos
artafinde at gmail.com
Mon Apr 23 09:25:09 EDT 2012
On Mon, Apr 23, 2012 at 2:21 PM, Gaetan Bisson <bisson at archlinux.org> wrote:
> [2012-04-23 14:02:23 +0100] Leonidas Spyropoulos:
>> I am trying to renice the user bash on Login. So every time someone
>> logs through SSH to the server to get a lower priority than normal.
>> Is that possible? Is it a good idea in general?
>
> Why would you want to do that? As root, you can use nicenesses from -20
> to -1 to schedule your tasks with higher priority. Nicenesses from 1 to
> 20 are for users to decrease their tasks' scheduling priority.
>
Well I want to decrease the priority of all users logged into the
system (expect root) at login. So let's say run every bash and every
spawned process that a user run with priority 5.
> --
> Gaetan
--
Caution: breathing may be hazardous to your health.
#include <stdio.h>
int main(){printf("%s","\x4c\x65\x6f\x6e\x69\x64\x61\x73");}
More information about the arch-general
mailing list