public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Meder Bakirov <bakirov@transfer.kg>
To: Gentoo-Dev <gentoo-dev@gentoo.org>
Subject: Re: [gentoo-dev] Setting a nice level for init scripts!
Date: Mon, 30 Jun 2003 09:40:47 +0600	[thread overview]
Message-ID: <200306300940.58854.bakirov@transfer.kg> (raw)
In-Reply-To: <1056797954.8020.43.camel@nosferatu.lan>

-----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


      reply	other threads:[~2003-06-30  3:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-26  9:45 [gentoo-dev] Setting a nice level for init scripts! Meder Bakirov
2003-06-28 10:59 ` Martin Schlemmer
2003-06-30  3:40   ` Meder Bakirov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200306300940.58854.bakirov@transfer.kg \
    --to=bakirov@transfer.kg \
    --cc=gentoo-dev@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox