1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
On Saturday 28 June 2003 16:59, Martin Schlemmer wrote: |
5 |
> On Thu, 2003-06-26 at 11:45, Meder Bakirov wrote: |
6 |
> > -----BEGIN PGP SIGNED MESSAGE----- |
7 |
> > Hash: SHA1 |
8 |
> > |
9 |
> > Hi all! |
10 |
> > |
11 |
> > Is it possible to define a nice level for init scripts in |
12 |
> > /etc/conf.d/<script name>, for example? So, when computer starts it |
13 |
> > starts these scripts with specified nice level. We may call it PRIORITY |
14 |
> > and use it as below, for example: |
15 |
> > |
16 |
> > /etc/conf.d/somescript: |
17 |
> > # Some |
18 |
> > # comments here |
19 |
> > |
20 |
> > PRIORITY=-5 |
21 |
> > |
22 |
> > and /etc/init.d/somescript will always run with the nice level, specified |
23 |
> > in /etc/conf.d/somescript, -5 in this example. |
24 |
> > |
25 |
> > It would be superb to have this feature in Gentoo Linux, so I can |
26 |
> > dedicate more CPU time for a process with a high level priority. |
27 |
> > |
28 |
> > AFAIK, Redhat 9 uses this feature, but I didn't check it. |
29 |
> |
30 |
> So what is wrong with a one line change by yourself ? |
31 |
|
32 |
It's OK with me. I can add those lines into Gentoo init scripts as well as I |
33 |
can use nice and renice for my procs. What I want is to have this feature in |
34 |
Gentoo init scripts subsystem, not my own hack, and to have a support for |
35 |
this on a Gentoo Linux level. It's kinda a feature request. |
36 |
|
37 |
With the best rgrds! |
38 |
-----BEGIN PGP SIGNATURE----- |
39 |
Version: GnuPG v1.2.2 (GNU/Linux) |
40 |
|
41 |
iD8DBQE+/7FJiHZXWv0HWscRAjqjAJ48xhsqszdrwWGyCob1lppYmdQ/8gCeJajD |
42 |
ZqG7ba0IUvlUlFWr46WPs6Y= |
43 |
=ngbb |
44 |
-----END PGP SIGNATURE----- |
45 |
|
46 |
|
47 |
-- |
48 |
gentoo-dev@g.o mailing list |