Home
41.
Of the following nice values, which will increase the priority of the selected process?
  • A.
    100
  • B.
    20
  • C.
    -19
  • D.
    -100
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
To increase process priority, you need a negative nice value. -19 is the lowest value that can be used.
Report
Name Email  
42.
Which of the following shows correct syntax to change the priority for the current process with PID 1234?
  • A.
    nice -n 5 1234
  • B.
    renice 5 1234
  • C.
    renice 5 -p 1234
  • D.
    nice 5 -p 1234
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
Use the renice command to change priority for currently running processes. To refer to the process you want to renice, use the -p option.
Report
Name Email  
43.
Which of the following commands cannot be used to send signals to processes?
  • A.
    kill
  • B.
    mkill
  • C.
    pkill
  • D.
    killall
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
mkill is not a current command to send signals to processes.
Report
Name Email  
44.
Which signal would you send to a process if you want to force it to stop, even if that means potential loss of data that the process is currently working with?
  • A.
    SIGKILL
  • B.
    SIGSTOP
  • C.
    SIGTERM
  • D.
    SIGHUP
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
The SIGKILL signal sends the famous signal with number 9 to a process, which forces the process to stop.
Report
Name Email  
45.
Which of the following commands would you use from top to change the priority of a process?
  • A.
    r
  • B.
    n
  • C.
    c
  • D.
    k
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
To change the process priority from top, use r for renice.
Report
Name Email