Run queue: Difference between revisions
Appearance
Content deleted Content added
No edit summary |
add {{reqdiagram}} tag |
||
Line 1: | Line 1: | ||
{{reqdiagram}} |
|||
In modern computers many [[processes]] run at once, to ensure each program has a fair share of resources each one is run for a period, when a program is taken out to let another run it is placed on the end of the '''run queue''', and the program at the head of the run queue is then allowed to execute. |
In modern computers many [[processes]] run at once, to ensure each program has a fair share of resources each one is run for a period, when a program is taken out to let another run it is placed on the end of the '''run queue''', and the program at the head of the run queue is then allowed to execute. |
||
Revision as of 11:55, 2 April 2007
It is requested that a diagram or diagrams be included in this article to improve its quality. Specific illustrations, plots or diagrams can be requested at the Graphic Lab. Please replace this template with a more specific media request template where possible. For more information, refer to discussion on this page and/or the listing at Wikipedia:Requested images. |
In modern computers many processes run at once, to ensure each program has a fair share of resources each one is run for a period, when a program is taken out to let another run it is placed on the end of the run queue, and the program at the head of the run queue is then allowed to execute.
Processes are also removed from the run queue when they ask to sleep, are waiting on a resource to become available, or have been terminated.
In UNIX or Linux the sar command is used to check the run queue.