what is the use of nice command?
Answers were Sorted based on User's Feedback
Answer / kamakshee
Nice value is used to decide the priority of a
process.Higher the nice value , lower is the priority .By
default the nice value is 20.
| Is This Answer Correct ? | 10 Yes | 1 No |
For Increase or decrease the priority of a job/Process we
use Nice command,and its range -19 to 20.
If When we need to increase the priority then we need to
decrease the priority number
if Priority of a process 1.
Ex:- Nice -n -10 <cmd>
If we need to decrease the priority then we need to increase
the priority number
if Priority of a process -1.
Ex:- Nice -n 10 <cmd>
Thanks,
Jagadeeb@gmail.com
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / suryakanta
For Increase or decrease the priority of a job/Process we
use Nice command,and its range -19 to 20.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you see the command line history?
What is the difference between a hard link and a soft link in Unix?
What is shrinking file system in AIX where it actually resides?
Is ‘du’ a command? If so, what is its use?
How do you know about running processes of a particular user?
what is the command to list files in a directory in UNIX?
What is the syntax of grep command and what is its use?
boot process?
How to copy multiple files and directories into some other directory?
What is the comma to show the space allocation of files?
What is the unix command to confirm a remote host is alive or not?
Suppose 1000 processes are running on the system out of those if you have to show only certain process ids which command will you use?