Red Hat Linux 9 Professional Secrets [Electronic resources]

Naba Barkakati

نسخه متنی -صفحه : 341/ 243
نمايش فراداده

nice

Purpose

Run a program at a lower or higher priority level.

Syntax

nice [options]

program

Options

+

n (

n = number) adds

n to the nice value (positive values are lower priority).

-

n (

n = number) subtracts

n from the nice value (negative nice value indicates a higher priority).

Description

The

nice command enables you to run a program at lower or higher priority. By default, programs run at the nice value of zero. Adding to the nice value decreases the priority, whereas subtracting from the nice value increases the program's priority. Only

root can decrease the nice value.