[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: Re: [gentoo-dev] Setting a nice level for init scripts!
From: Meder Bakirov <bakirov () transfer ! kg>
Date: 2003-06-30 3:40:47
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Saturday 28 June 2003 16:59, Martin Schlemmer wrote:
> On Thu, 2003-06-26 at 11:45, Meder Bakirov wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi all!
> >
> > Is it possible to define a nice level for init scripts in
> > /etc/conf.d/<script name>, for example? So, when computer starts it
> > starts these scripts with specified nice level. We may call it PRIORITY
> > and use it as below, for example:
> >
> > /etc/conf.d/somescript:
> > # Some
> > # comments here
> >
> > PRIORITY=-5
> >
> > and /etc/init.d/somescript will always run with the nice level, specified
> > in /etc/conf.d/somescript, -5 in this example.
> >
> > It would be superb to have this feature in Gentoo Linux, so I can
> > dedicate more CPU time for a process with a high level priority.
> >
> > AFAIK, Redhat 9 uses this feature, but I didn't check it.
>
> So what is wrong with a one line change by yourself ?
It's OK with me. I can add those lines into Gentoo init scripts as well as I
can use nice and renice for my procs. What I want is to have this feature in
Gentoo init scripts subsystem, not my own hack, and to have a support for
this on a Gentoo Linux level. It's kinda a feature request.
With the best rgrds!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE+/7FJiHZXWv0HWscRAjqjAJ48xhsqszdrwWGyCob1lppYmdQ/8gCeJajD
ZqG7ba0IUvlUlFWr46WPs6Y=
=ngbb
-----END PGP SIGNATURE-----
--
gentoo-dev@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic