Date: Wed, 2 Jul 2003 03:25:02 +0200 From: Simon Barner <barner@in.tum.de> To: Octavian Hornoiu <octavian@hacknslash.org> Cc: freebsd-questions@freebsd.org Subject: Re: automatically using "nice" Message-ID: <20030702012502.GE659@zi025.glhnet.mhn.de> In-Reply-To: <1057108442.29026.1.camel@phobos.lexis.int> References: <1057108442.29026.1.camel@phobos.lexis.int>
next in thread | previous in thread | raw e-mail | index | archive | help
--8X7/QrJGcKSMr1RN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, > is there a way to have the system automatically use nice on all > command-line apps during a session? i don't want to keep typing it over > and over every time i run a batch script or compilation. You could either modify your scripts to use nice, or start a new shell with an appropriate nice level. All the processes you launch from that shell will inherit the nice level of that shell: $ nice -20 <your favourite shell> > compile compile compile, ... :-) HTH, Simon --8X7/QrJGcKSMr1RN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/AjRuCkn+/eutqCoRAvd1AJ4pMRH5k9DK908iRhyBvb2MUTJU8gCeO374 n8TW3054Q8NCCPNJOycWOOI= =CyIp -----END PGP SIGNATURE----- --8X7/QrJGcKSMr1RN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030702012502.GE659>