aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/process/nice.md
blob: bda743de51a29153c0741dee5c6786cd711c03c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# nice(1)

Adjust `niceness` of a new command or running process.

Niceness influences the scheduling priority and ranges between:
- `-20` most favorable
- `19` least favorable

```sh
# Adjust niceness +5 for the launched process.
nice -n 5 yes

# Adjust niceness of running process.
renice -n 5 -p PID
```