Re: renice Bash at login

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Apr 23, 2012 at 2:21 PM, Gaetan Bisson <bisson@xxxxxxxxxxxxx> 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");}


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux