[KLUG Members] determining what is using a resource

Adam Williams6 members@kalamazoolinux.org
Tue, 2 Apr 2002 16:14:03 -0500 (EST)


>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.  

fuser should work just fine on device files

lnx01688:/tmp/work $/sbin/fuser -vu /dev/mixer

                     USER        PID ACCESS COMMAND
/dev/mixer           adam       1917 f....  xmixer