[arch-general] renice Bash at login

XeCycle xecycle at gmail.com
Mon Apr 23 22:20:28 EDT 2012


Leonidas Spyropoulos <artafinde at gmail.com> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120424/979f6204/attachment.asc>


More information about the arch-general mailing list