Run queue: Difference between revisions
Appearance
Content deleted Content added
m comma usage |
m removing orphan template as not a valid orphan |
||
Line 1: | Line 1: | ||
{{Unreferenced stub|auto=yes|date=December 2009}} |
{{Unreferenced stub|auto=yes|date=December 2009}} |
||
{{Orphan|date=December 2009}} |
|||
In modern computers many [[Process (computing)|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 [[Process (computing)|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 00:13, 9 November 2010
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.