Jump to content

Run queue: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Ryan Roos (talk | contribs)
m Repairing link to disambiguation page (Processes) using Popups; You can help!
Ryan Roos (talk | contribs)
Added computer stub tag
Line 5: Line 5:
In [[UNIX]] or [[Linux]] the [[sar]] command is used to check the run queue.
In [[UNIX]] or [[Linux]] the [[sar]] command is used to check the run queue.


{{comp-stub}}
[[Category:Operating system technology]]
[[Category:Operating system technology]]

Revision as of 02:51, 18 July 2008

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.