what is the use of nice command?

Answers were Sorted based on User's Feedback



what is the use of nice command?..

Answer / swapna

nice command is used to give priorities for running
processes.

Is This Answer Correct ?    12 Yes 1 No

what is the use of nice command?..

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

what is the use of nice command?..

Answer / jagadeeb choudhury

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

what is the use of nice command?..

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

Post New Answer

More Unix Commands Interview Questions

What is rmdir command?

0 Answers  


to list a particular line in the file

5 Answers  


why metadb requires a seperate slice to create Solaris volume manager

0 Answers   Wipro,


Hi All, Can you please let me know how to grep for a particular pattern in unix. I want to print the dates from the file exp.txt. the date pattern is DD:MM:YYYY, I just want to print all the dates from the file exp.txt.

8 Answers   Concentrix, IBM, Symantec, TCS,


what will be the output of ls ~/..

27 Answers   ABC,






what is the use of nice command?

4 Answers  


How do you remove a crontab file?

6 Answers  


What is the functionality of a top command?

0 Answers   Amazon,


What is the size of time_t?

0 Answers  


What does touch command do in unix?

0 Answers  


boot process?

2 Answers   Atos Origin, Wipro,


what these two commands prints "echo test","cat test"?

6 Answers   TCS, Wipro,


Categories