LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Find out which program is using which device (https://www.linuxquestions.org/questions/linux-software-2/find-out-which-program-is-using-which-device-335252/)

d_dallis_gr 06-19-2005 06:23 PM

Find out which program is using which device
 
Hi everyone,
I am trying to find out in mandriva 10.2 which program is using the following device /dev/dsp. Is there any kind of command which I can use in order to find that out?

Thank you all
Adam

ilikejam 06-19-2005 06:45 PM

Hi.

Try doing 'lsof /dev/dsp' as root.

Dave

d_dallis_gr 06-19-2005 07:01 PM

Unfortunatly that command doesnt exist in mandriva 10.2 anything else ?

mysterio 06-19-2005 07:14 PM

It just might not be installed.

d_dallis_gr 06-19-2005 07:29 PM

found the command but I couldnt find which process is using /dev/dsp/

damienduff 06-19-2005 11:39 PM

use
lsof | grep /dev/dsp


All times are GMT -5. The time now is 10:38 PM.