Discuss the nice command.
What will be an ideal response?
Linux always tries to distribute the available computing time equitably to all running processes. However, there may be times when you need to assign a process more or less computing time. You can do this with the nice command.
This command runs a program and assigns the corresponding process a specific nice value that affects the calculation of the process priority (which can be either increased or decreased). If you do not specify a nice value with this command, the process is started with a default value of +10.
The NI column in the top list contains the nice values assigned to the process. The default value 0 is regarded as neutral. You can assign the nice level using a numeric value of -20 to 19. The lower the value of the nice level, the higher the priority of the process. A process with a nice level of -20 runs at the highest priority; a process with a nice level of 19 runs at the lowest priority. The nice level is used by the scheduler to determine how frequently to service a running process.
Only root is permitted to start a process with a negative nice value (such as nice -n -3 xeyes). If a normal user attempts to do this, an error message is returned.
You might also like to view...
The ________Wizard is used to easily create name tags and other specialized tags
A) Label B) Specialty C) Letter D) Tag
A search engine searches _____ to find a match for the query.?
A. ?the web B. ?Open Directory C. ?web bibliographies D. ?its own database
IP addresses like 10.10.10.10 and 172.19.24.21 are both examples of what type of IP address?
A. Public IP addresses B. Prohibited IP addresses C. Private IP addresses D. Class B IP ranges
Consider the following relational schema:
Supplier(Name,Part) Project(Name,Part)A tuple, n,p, in the ?rst relation means that supplier n has part p. A tuple n,p in the second relation means that the project named n uses part p. Write the following query in tuple and domain relational calculi: Find the names of suppliers who have a part, that is used by every project .