Name

nice

Synopsis

nice [option] [command [arguments]]

Executes a command (with its arguments) with lower priority (i.e., be “nice” to other users). With no arguments, nice prints the default scheduling priority (niceness). If nice is a child process, it prints the parent process’s scheduling priority. Niceness has a range of -20 (highest priority) to 20 (lowest priority).

Option

-n adjustment, -adjustment, --adjustment= adjustment

Run command with niceness incremented by adjustment (1 to 20); default is 10. A privileged user can raise priority by specifying a negative adjustment (e.g., -5).

Get Mac OS X Tiger in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.