[KLUG Members] determining what is using a resource

Rusty Yonkers members@kalamazoolinux.org
Tue, 2 Apr 2002 12:49:42 -0800 (PST)


How about /dev/dsp?  I have tried to run xmms and it
was not working quite right.  I then tried to run
sndconfig and got a /dev/dsp is busy.  

--- Bruce Smith <bruce@armintl.com> wrote:
> > I have had times when I am trying to accomplish
> > something (like unmounting a drive or running a
> > program that needs to use the sound card) and I
> get an
> > error that something is using the device
> > /dev/thedevicename.  How can I determine what
> process
> > on the computer is using the device so that I can
> get
> > it to release?  
> 
> To find what files are being used in a directory so
> you can unmount 
> it, you can use use the "fuser -m /mnt/dir" command
> to list all the
> processes that have open files in that directory
> tree.  (then stop 
> or kill the processes)  "fuser" has other useful
> options too, see
> the man page.
> 
> As far as other device files, you'll have to be more
> specific.
> 
> --------------------------------------------
> Bruce Smith                bruce@armintl.com
> System Administrator / Network Administrator
> Armstrong International, Inc.
> Three Rivers, Michigan  49093  USA
> http://www.armstrong-intl.com/
> --------------------------------------------
> 
> _______________________________________________
> Members mailing list
> Members@kalamazoolinux.org
>



=====
Truth is truth ... no matter what I think...
-----------------------------------------
Do not fear the penguin!  
-----------------------------------------
Devoted RedHat fan...

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://http://taxes.yahoo.com/