exam questions

Exam 101-400 All Questions

View all questions & answers for the 101-400 exam

Exam 101-400 topic 3 question 32 discussion

Actual exam question from LPI's 101-400
Question #: 32
Topic #: 3
[All 101-400 Questions]

Regarding the command:
nice -5 /usr/bin/prog
Which of the following statements is correct?

  • A. /usr/bin/prog is executed with a nice level of -5.
  • B. /usr/bin/prog is executed with a nice level of 5.
  • C. /usr/bin/prog is executed with a priority of -5.
  • D. /usr/bin/prog is executed with a priority of 5.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
DuboisNicolasDuclair
1 year, 4 months ago
Selected Answer: A
The correct statement regarding the command `nice -5 /usr/bin/prog` is: A. `/usr/bin/prog` is executed with a nice level of -5. In the `nice` command, when you specify a nice level with a negative value, it reduces the process's priority, making it less favorable for CPU time, and hence the process is executed with a lower nice level. In this case, a nice level of -5 is set for the `/usr/bin/prog` command.
upvoted 1 times
...
ignasi
3 years, 4 months ago
i think it shpuld be a as fa as i know nice default value is 0
upvoted 1 times
aries_jamie
2 years, 11 months ago
If there is no value is provided, nice sets to 10 as default. A command or program run without nice defaults to 0
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago