| 1 |
<page xmlns="http://projectmallard.org/1.0/" |
| 2 |
type="topic" style="task" |
| 3 |
id="process-status"> |
| 4 |
|
| 5 |
<info> |
| 6 |
<revision pkgversion="3.11" date="2014-01-28" status="complete"/> |
| 7 |
<link type="guide" xref="index#processes-info" group="processes-info" /> |
| 8 |
<link type="seealso" xref="process-kill" /> |
| 9 |
<link type="seealso" xref="cpu-check" /> |
| 10 |
|
| 11 |
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/> |
| 12 |
|
| 13 |
<credit type="author copyright"> |
| 14 |
<name>Phil Bull</name> |
| 15 |
<email>[email protected]</email> |
| 16 |
<years>2014</years> |
| 17 |
</credit> |
| 18 |
|
| 19 |
<desc>The status of a process can be running, sleeping, stopped, or zombie.</desc> |
| 20 |
</info> |
| 21 |
|
| 22 |
<title>What do the process statuses mean?</title> |
| 23 |
|
| 24 |
<p>The status of a process tells you whether it is currently doing something or not. There are four statuses that a process can have:</p> |
| 25 |
|
| 26 |
<terms> |
| 27 |
<item> |
| 28 |
<title>Running</title> |
| 29 |
<p>Processes that are currently doing something (for example, a web |
| 30 |
browser loading a web page). Running processes are those that are |
| 31 |
actively using the processor (CPU).</p> |
| 32 |
</item> |
| 33 |
<item> |
| 34 |
<title>Sleeping</title> |
| 35 |
<p>Processes that are not currently doing anything (for example, because |
| 36 |
they are waiting for something to happen). They don't use any of the |
| 37 |
processor's time, but still take up memory. If they need to do something, |
| 38 |
they will "wake up" and change their status to <em>running</em>.</p> |
| 39 |
</item> |
| 40 |
<item> |
| 41 |
<title>Stopped</title> |
| 42 |
<p>A <em>stopped</em> process is one that has been put to sleep manually. |
| 43 |
You might want to stop a process temporarily if it is using too much |
| 44 |
processing time, for example.</p> |
| 45 |
<p>To do this, click the process in the <gui>Processes</gui> tab, then |
| 46 |
right-click it and select <gui>Pause</gui> from the menu that appears. You |
| 47 |
can wake it up again by clicking <gui>Resume</gui> on the same |
| 48 |
menu.</p> |
| 49 |
</item> |
| 50 |
<item> |
| 51 |
<title>Zombie</title> |
| 52 |
<p>A zombie process is one that has finished running and will never start |
| 53 |
again, but is being kept in the list of processes for some reason. This |
| 54 |
usually happens because it was started by another program that needs to |
| 55 |
know if it finished successfully or not, but which has not checked on the |
| 56 |
process yet.</p> |
| 57 |
<p>Zombie processes do not use any memory or processing time, and will |
| 58 |
eventually go away. You do not need to do anything to get rid of them.</p> |
| 59 |
</item> |
| 60 |
</terms> |
| 61 |
|
| 62 |
<p>The majority of processes will either be running or sleeping.</p> |
| 63 |
|
| 64 |
</page> |