Drawing Styles

We will now see the different representations available for the processor and their meanings:

Queues

  1. Currently running process.

  2. "Ready to run" process queue; Multiple queues of this type are allowed depending on the algorithm in use.

  3. Blocked process queue, waiting for a disk read or a page fault to complete.

  4. Process identifier.

  5. Remaining time until the next event which will block the process.

Processes may be selected clicking on them with the mouse.

Bars

A different color is assigned to each process, and each one is represented in a different horizontal bar. The upper bar is a resume of all processes.

When a process is running, a thick line is drawn with it's color on it's bar and the upper bar. And when it is not running, a thin line is drawn, a red one if the process is blocked, a green one if it is "ready to run" and a black one if the process is finished.

  1. Resume bar of all processes.

  2. Bars of each process.

  3. Blocked process.

  4. Running process.

  5. "Ready to run" process.

Processes may be selected clicking on their bar.

Overlapped Bars

A different color is assigned to each process, and each one is represented in a different horizontal bar.

When a process becomes ready a thick line with it's color is drawn on its bar, representing the CPU burst which the process pretends to run.

  1. Burst which process 3 pretends to run.

Processes may be selected clicking on their bar with the mouse.

Process status

Shows the state of the currently selected process.

  1. Running process.

  2. "Ready to run" process.

  3. Process blocked waiting for some event.

  4. Blocked and suspended process.

  5. "Ready to run" and suspended process.

In the picture, process 1 is blocked.