1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Hi all! |
5 |
|
6 |
Is it possible to define a nice level for init scripts in /etc/conf.d/<script |
7 |
name>, for example? So, when computer starts it starts these scripts with |
8 |
specified nice level. We may call it PRIORITY and use it as below, for |
9 |
example: |
10 |
|
11 |
/etc/conf.d/somescript: |
12 |
# Some |
13 |
# comments here |
14 |
|
15 |
PRIORITY=-5 |
16 |
|
17 |
and /etc/init.d/somescript will always run with the nice level, specified in |
18 |
/etc/conf.d/somescript, -5 in this example. |
19 |
|
20 |
It would be superb to have this feature in Gentoo Linux, so I can dedicate |
21 |
more CPU time for a process with a high level priority. |
22 |
|
23 |
AFAIK, Redhat 9 uses this feature, but I didn't check it. |
24 |
|
25 |
Thank you very much! |
26 |
|
27 |
Rgrds! |
28 |
-----BEGIN PGP SIGNATURE----- |
29 |
Version: GnuPG v1.2.2 (GNU/Linux) |
30 |
|
31 |
iD8DBQE++sDBiHZXWv0HWscRAqjKAKDFn54/pLVBNgnTJI0MJ6djh3t3VgCeICJm |
32 |
Q3X64vJcl0/mPVgCe4dmig0= |
33 |
=YmDI |
34 |
-----END PGP SIGNATURE----- |
35 |
|
36 |
|
37 |
-- |
38 |
gentoo-dev@g.o mailing list |