what are processor execution levels and priorities?

Answer Posted / sekhar

Every Process in Linux has execution priority. It ranges
from -20 (highest priority) to 19 (lowest).
Except su(Super User) others cannot increase the priority.
Only superuser can assign priority of -ve value.

Default priority is 0.
You can change your process priority using setpriority
system call.
You can get your process priority using getpriority system call.

Is This Answer Correct ?    14 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is {} in find command?

584


What command is used to switching between users in unix?

564


Explain the steps that a shell follows while processing a command.

683


Explain how to use grep command to list find the records of a file containing 10 different strings?

593


What is awk good for?

588






Explain ‘library functions’ with respect to unix commands?

604


Differentiate cat command from more command.

578


Why is awk called awk?

580


What does grep v do?

562


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

962


What is the difference between cat and more command?

627


How do I find previous commands in unix?

594


How do you grep recursively?

557


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

763


What is the difference between awk and grep?

561