The default nice level. A number between 0 and 19. Jobs for which no
entry can be found in
/etc/and.priorities are reniced to this level, regardless of the CPU time theyve used
so far. If you prefer to renice unknown jobs gradually, you can do
so by supplying three asterisks as (user, group, command) tuple in
/etc/and.priorities. The default nice level is
The default interval between nice checks of the auto nice daemon,
in seconds. This value can be overridden by the
-i command-line option of
and. The default interval is
Ranges for the nice levels. Jobs with less than lv1time seconds
CPU time are not reniced; jobs between lv1time and lv2time seconds
are reniced to the first level in an.priorities; jobs between
lv2time and lv3time seconds to the second level; jobs with more
than lv3time seconds are reniced to the third level.
1200 , and
Minimum user id and group id to be considered for renicing.
Processes whose user id is below
minuid are left alone, as are processes with a group id of below
mingid. (Note that even if you set minuid to zero, root processes are
Strategy for picking the right priority entry for a user/group/job
triple. The strategy is a permutation of "cgu", "c"ommand, "g"roup,
"u"ser. The order specifies the affinity of the priority lookup
method. Suppose you have an entry for all jobs of user
foo, another entry for all jobs of group
bar, and yet another entry for the command
baz. Furthermore suppose user
foo (who happens to belong to group
bar ) starts a job named
baz -- which entry should be chosen? This is what the affinity setting
means, for example "cug" means an exact match of the command has priority
over both an exact match of the user and the group. The default affinity is
"cug", which is probably sensible for most cases, since its the job
which takes up CPU time, not the user or group ID.
Default Configuration # This is the default configuration:
Default Configuration, with terminals # Normal default configuration for all
# Hosts foo, bar, baz are terminals and must
# be more responsive, so earlier renice.
# This is for all hosts again
Group-specific Hosts defaultnice 0
# Normal affinity for all hosts.
# Hosts bar, baz belong to group foo, which
# is privilegued on these hosts, so override
# affinity. (Note regexp!)
/etc/and.conf General configuration file. Stores default nice level, default interval, the "time zones" and the database lookup affinity. This is what this manual page is about.
The auto nice daemon and this manual page were written by Patrick Schemitz <firstname.lastname@example.org>
|Unix||AND.CONF (5)||27 Mar 2005|