What effect does this have on the job?
nice -n 10 ./reindex.sh
- It runs at a lower CPU priority
- It runs at a higher CPU priority
- It is limited to ten CPU cores
- It starts after a 10 second delay
A positive niceness makes the process "nicer" to others, so the scheduler gives it less CPU when there is contention.
Play Linux CLI ▸