public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Meder Bakirov <bakirov@transfer.kg>
To: gentoo-dev@gentoo.org
Subject: [gentoo-dev] Setting a nice level for init scripts!
Date: Thu, 26 Jun 2003 15:45:37 +0600	[thread overview]
Message-ID: <200306261545.37911.bakirov@transfer.kg> (raw)

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

Thank you very much!

Rgrds!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE++sDBiHZXWv0HWscRAqjKAKDFn54/pLVBNgnTJI0MJ6djh3t3VgCeICJm
Q3X64vJcl0/mPVgCe4dmig0=
=YmDI
-----END PGP SIGNATURE-----


--
gentoo-dev@gentoo.org mailing list


             reply	other threads:[~2003-06-26  9:46 UTC|newest]

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

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=200306261545.37911.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