Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 99 discussion

Actual exam question from LPI's 101-500
Question #: 99
Topic #: 1
[All 101-500 Questions]

What is the default nice level when a process is started using the nice command?

  • A. -10
  • B. 0
  • C. 10
  • D. 15
  • E. 20
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
fightingfighter
Highly Voted 4 years ago
If you start a command with nice it'll be 10, if you start command without nice it'll be 0.
upvoted 36 times
Mchoeti
1 year ago
right you are right as mentioned before, https://linux.die.net/man/1/nice
upvoted 1 times
...
iwkno6
2 years, 8 months ago
agreed!
upvoted 2 times
...
...
3glag
Highly Voted 4 years ago
C is correct answer
upvoted 14 times
...
Raafiik
Most Recent 2 months, 2 weeks ago
Selected Answer: C
The default "nice level", which is set for processes started using the nice command in Unix systems, is 10. This means that if you start a process using the nice command without specifying the "nice" value, the process will receive a "nice" value set to 10.
upvoted 1 times
...
peppiniello
4 months, 3 weeks ago
Selected Answer: C
command + nice =10
upvoted 2 times
...
Reseko
6 months, 4 weeks ago
Selected Answer: C
niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process). -n, --adjustment=N ==> add integer N to the niceness (default 10)
upvoted 1 times
...
Jos015
8 months, 2 weeks ago
I don't know, if we think about the test, I would say that the answer could be B - 0. https://learning.lpi.org/en/learning-materials/101-500/103/103.6/103.6_01/ Process Niceness Every normal process begins with a default nice value of 0 (priority 120).
upvoted 1 times
...
Mchoeti
1 year ago
Please check the man page it is 10 https://linux.die.net/man/1/nice
upvoted 1 times
...
k3n_
1 year, 2 months ago
Selected Answer: C
Checked the man page.
upvoted 1 times
...
k3n_
1 year, 2 months ago
Acordding to man page, default is 10. https://linux.die.net/man/1/nice
upvoted 1 times
...
blk_542
1 year, 4 months ago
Also saw C as correct in another guide.
upvoted 1 times
...
blk_542
1 year, 4 months ago
Selected Answer: C
C, a very easy way to test: run a "top" (as root user) and see the own top niceness, as many processes it is 0. then quit and run "nice top", will see the top niceness changed to 10
upvoted 3 times
...
gonzaloco
1 year, 11 months ago
Selected Answer: C
C i think
upvoted 1 times
...
Lazylinux
1 year, 11 months ago
Selected Answer: C
Tested and it is C - value of 10
upvoted 3 times
...
alitosdavila
2 years ago
Ans: C $ nice sleep 200 & [1] 13713 $ ps -l 13713 F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD 0 S 1000 13713 13655 0 90 10 - 864 hrtime pts/0 0:00 sleep 200
upvoted 1 times
...
wvdw1962
2 years, 2 months ago
according the LPIC-1 Study Guide (Breshnahan/Blum) chapt.2, page 120: The default niceness level is zero. Must be answer B
upvoted 2 times
wvdw1962
2 years, 2 months ago
Sorry, wrong answer, did not read the question good enough :-( Must be answer C: If no value is provided, nice sets a priority of 10 by default.
upvoted 1 times
...
...
anhcq
2 years, 4 months ago
Selected Answer: C
it's 10 if the command is started with nice
upvoted 2 times
...
cesarvasquez
2 years, 4 months ago
The nice command, when run without arguments, will output the priority for the currently logged-in user, which is normally 0. The renice command can be used to change the priority of running processes. The other two commands shown as options for this question do not exist
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...