Blame help/C/process-identify-file.page

Packit 76ec6a
Packit 76ec6a
      type="topic" style="task"
Packit 76ec6a
      id="process-identify-file">
Packit 76ec6a
  <info>
Packit 76ec6a
    <revision version="0.2" pkgversion="3.11" date="2014-01-26" status="review"/>
Packit 76ec6a
    <link type="guide" xref="index#processes-tasks" group="processes-tasks" />
Packit 76ec6a
Packit 76ec6a
    <include href="legal.xml" xmlns="http://www.w3.org/2001/XInclude"/>
Packit 76ec6a
Packit 76ec6a
    <credit type="author copyright">
Packit 76ec6a
      <name>Phil Bull</name>
Packit 76ec6a
      <email>philbull@gmail.com</email>
Packit 76ec6a
      <years>2011</years>
Packit 76ec6a
    </credit>
Packit 76ec6a
Packit 76ec6a
    <credit type="author copyright">
Packit 76ec6a
      <name>Michael Hill</name>
Packit 76ec6a
      <email>mdhillca@gmail.com</email>
Packit 76ec6a
      <years>2011, 2014</years>
Packit 76ec6a
    </credit>
Packit 76ec6a
Packit 76ec6a
    <desc>Search for a file that's open to display which process is using it.</desc>
Packit 76ec6a
  </info>
Packit 76ec6a
Packit 76ec6a
  <title>Find which program is using a specific file</title>
Packit 76ec6a
Packit 76ec6a
  <comment>
Packit 76ec6a
    Phil Bull
Packit 76ec6a
    

Explain how you can search for a file (or part of a filename) and it will

Packit 76ec6a
    show which processes are using it. Explain why this might be useful.

Packit 76ec6a
  </comment>
Packit 76ec6a
Packit 76ec6a
  

Sometimes an error message will tell you a device (like the sound device or

Packit 76ec6a
 the DVD ROM) is busy, or the file you want to edit is in use. To find the
Packit 76ec6a
 process or processes responsible:

Packit 76ec6a
Packit 76ec6a
    <steps>
Packit 76ec6a
      <item>

Click

Packit 76ec6a
        <guiseq><gui>System Monitor</gui><gui>Search for Open Files</gui></guiseq>.

Packit 76ec6a
      </item>
Packit 76ec6a
      <item>

Enter a filename or part of a filename. This could be

Packit 76ec6a
        <file>/dev/snd</file> for the sound device or <file>/media/cdrom</file>
Packit 76ec6a
        for the DVD ROM.

Packit 76ec6a
      </item>
Packit 76ec6a
      <item>

Click <gui>Find</gui>.

Packit 76ec6a
      </item>
Packit 76ec6a
    </steps>
Packit 76ec6a
Packit 76ec6a
  

This will display a list of running processes that are currently accessing

Packit 76ec6a
 the file or files that match the search. Quitting the program should allow you
Packit 76ec6a
 to access the device or edit the file.

Packit 76ec6a
Packit 76ec6a
</page>