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 LFCS topic 1 question 55 discussion

Actual exam question from Linux Foundation's LFCS
Question #: 55
Topic #: 1
[All LFCS Questions]

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

  • A. -10
  • B. 10
  • C. 20
  • D. 0
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
Greenmile84
2 months, 1 week ago
[vmitkov@F:~]$ ps -el | grep ps 0 R 1000 122 41 0 80 0 - 1888 - pts/0 00:00:00 ps
upvoted 1 times
...
Greenmile84
2 months, 1 week ago
Selected Answer: D
The nice value determines the priority of the process. The higher the value, the lower the priority--the "nicer" the process is to other processes. The default nice value is 0 on Linux workstations
upvoted 1 times
...
Strib
9 months, 2 weeks ago
Selected Answer: D
The nice command is used to launch a process with a modified scheduling priority, also known as the nice value. The nice value ranges from -20 to +19, with lower values indicating higher priority. When the nice command is used without specifying a value, it assumes a default nice value of 0. This means that the process will have the same priority as the parent process or the shell from which it was launched.
upvoted 1 times
...
mksarav
1 year, 2 months ago
correct answer is D. proof: https://www.ed.ac.uk/files/imports/fileManager/Be_Nice_Renice.pdf
upvoted 1 times
...
Borbz
3 years, 1 month ago
I think the correct answer is D. When a process starts the default Nice Lv is 0.
upvoted 3 times
Funkslinger
2 years, 1 month ago
While original nice value is 0, once you use the nice command, without stating desired nice value, it gets set to the default nice of 10. Answer is B as you have used nice, not left it to the original nice value.
upvoted 1 times
mksarav
1 year, 2 months ago
to update the nice value, one has to use renice command. You cannot use nice command again to change nice value of already running process. So I believe answer B is not correct.
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 ...