Re: renice Bash at login

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



Leonidas Spyropoulos <artafinde@xxxxxxxxx> writes:

> Hi all,
>
> I searched around with no help so if you can help out:
>
> 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?

Of course, the simplest being `exec nice 10 bash' in your
.bash_profile.  renice is not always needed.

> Is it a good idea in general?  A server usually is not to be
> used from users, only login sporadic to do updates and various
> maintenance work
>
> Thanks
> Leonidas

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

Attachment: pgpAfVEBRaN46.pgp
Description: PGP signature


[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