Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Which priority has the process?how do u view?

Answers were Sorted based on User's Feedback



Which priority has the process?how do u view?..

Answer / ajit mohan b

Each process has a niceness value associated with it, which
is what the kernel uses to determine which processes require
more processor time than others. The higher the nice value,
the lower the priority of the process. In other words, the
“nicer” the program, the less CPU it will try to take from
other processes; programs that are less nice tend to demand
more CPU time than other programs that are nicer.
The priority is noted by a range of -20 (the highest) to 20
(the lowest). Using ps, you can see the current nice value
of all programs:
# ps axl

F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY
TIME COMMAND
4 0 1 0 16 0 2648 112 - S ?
0:01 init [3]
1 0 2 1 34 19 0 0 ksofti SN ?
0:02 [ksoftirqd/0]
5 0 3 1 10 -5 0 0 worker S< ?
0:00 [events/0]
You can see that init has a nice value of 0, while other
kernel tasks associated with PID 2 and 3 have a nice value
of 19 and -5 respectively.
Typically, a program inherits its nice value from its
parent; this prevents low priority processes from spawning
high priority children.

Is This Answer Correct ?    20 Yes 0 No

Which priority has the process?how do u view?..

Answer / amit

every process has priority to view it the cmd are:-

#ps
#top

Is This Answer Correct ?    7 Yes 0 No

Which priority has the process?how do u view?..

Answer / gokul

nice command is used to find the priority

Is This Answer Correct ?    4 Yes 6 No

Post New Answer

More Linux Commands Interview Questions

what is initrd image?

5 Answers   IBM, Oracle,


What is p command?

0 Answers  


can some one tell me the steps(with commands) to create LVM in RHEL 5????

5 Answers  


What is umask in linux?

0 Answers  


who invented unix?

3 Answers   Wipro,


What would be the result of issuing the command cat phonenos?

0 Answers  


Brief about finger username?

0 Answers  


How to recover /etc/passwd file and /etc/shadow file?

0 Answers  


You wish to restore the file memo.ben which was backed up in the tarfile mybackup.tar. What command should you type?

0 Answers  


Which command would you use to create a file system on a new hard drive?

0 Answers  


What are the command prompt commands?

0 Answers  


How do you grep?

0 Answers  


Categories