nerdexam
Linux_Foundation

LFCS · Question #728

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

The correct answer is B. 19. A regular user can assign a maximum niceness value of 19 to a new process, which corresponds to the lowest priority.

Submitted by miguelv· Apr 18, 2026Operation of Running Systems

Question

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

Options

  • A9
  • B19
  • C49
  • D99

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    86% (31)
  • C
    3% (1)
  • D
    8% (3)

Why each option

A regular user can assign a maximum niceness value of 19 to a new process, which corresponds to the lowest priority.

A9

While 9 is a valid niceness value that a regular user can set, it is not the maximum possible value they can assign to decrease a process's priority.

B19Correct

The niceness value ranges from -20 (highest priority) to 19 (lowest priority). A regular user can only assign non-negative niceness values and can only increase the niceness (decrease priority), with 19 being the maximum value they can set.

C49

49 is outside the standard niceness range, which typically extends only up to 19.

D99

99 is outside the standard niceness range, which typically extends only up to 19.

Concept tested: Process niceness and priority

Source: https://man7.org/linux/man-pages/man1/nice.1.html

Topics

#nice command#process priority#user limits#process scheduling

Community Discussion

No community discussion yet for this question.

Full LFCS Practice