| 1 |
<page xmlns="http://projectmallard.org/1.0/" |
| 2 |
type="topic" style="task" |
| 3 |
id="process-identify-file"> |
| 4 |
<info> |
| 5 |
<revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/> |
| 6 |
<link type="guide" xref="index#processes-tasks" group="processes-tasks" /> |
| 7 |
|
| 8 |
<include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/> |
| 9 |
|
| 10 |
<credit type="author copyright"> |
| 11 |
<name>Phil Bull</name> |
| 12 |
<email>[email protected]</email> |
| 13 |
<years>2011</years> |
| 14 |
</credit> |
| 15 |
|
| 16 |
<credit type="author copyright"> |
| 17 |
<name>Michael Hill</name> |
| 18 |
<email>[email protected]</email> |
| 19 |
<years>2011, 2014</years> |
| 20 |
</credit> |
| 21 |
|
| 22 |
<desc>Search for a file that's open to display which process is using it.</desc> |
| 23 |
</info> |
| 24 |
|
| 25 |
<title>Find which program is using a specific file</title> |
| 26 |
|
| 27 |
<comment> |
| 28 |
<cite date="2011-06-18" href="mailto:[email protected]">Phil Bull</cite> |
| 29 |
<p>Explain how you can search for a file (or part of a filename) and it will |
| 30 |
show which processes are using it. Explain why this might be useful.</p> |
| 31 |
</comment> |
| 32 |
|
| 33 |
<p>Sometimes an error message will tell you a device (like the sound device or |
| 34 |
the DVD ROM) is busy, or the file you want to edit is in use. To find the |
| 35 |
process or processes responsible:</p> |
| 36 |
|
| 37 |
<steps> |
| 38 |
<item><p>Click |
| 39 |
<guiseq><gui>System Monitor</gui><gui>Search for Open Files</gui></guiseq>.</p> |
| 40 |
</item> |
| 41 |
<item><p>Enter a filename or part of a filename. This could be |
| 42 |
<file>/dev/snd</file> for the sound device or <file>/media/cdrom</file> |
| 43 |
for the DVD ROM.</p> |
| 44 |
</item> |
| 45 |
<item><p>Click <gui>Find</gui>.</p> |
| 46 |
</item> |
| 47 |
</steps> |
| 48 |
|
| 49 |
<p>This will display a list of running processes that are currently accessing |
| 50 |
the file or files that match the search. Quitting the program should allow you |
| 51 |
to access the device or edit the file.</p> |
| 52 |
|
| 53 |
</page> |