-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

lsof does the trick nicely:

lsof /dev/snd/controlC0
lsof: WARNING: can't stat() usbfs file system /proc/bus/usb/.usbfs
      Output information may be incomplete.
kmix       6731    myuser   10u      CHR      116,7
14675 /dev/snd/controlC0

For OSS apps:
lsof /dev/dsp
lsof: WARNING: can't stat() usbfs file system /proc/bus/usb/.usbfs
      Output information may be incomplete.
COMMAND     PID     USER   FD   TYPE DEVICE SIZE  NODE NAME
vmware-vm 14033 myuser  190r   CHR   14,3      14645 /dev/dsp

In this example I replaced my actual username with myuser.

Cheers,
Gustin

Jürgen Schöneberg wrote:
> Hello!
> 
> how can I simply search for processes which are blocking my sound device?
> 
> e.g. sometimes firefox and java or some other audio application is using 
> the sound device, so I can't start jack.
> 
> before I start jack I want to be sure that no other application is blocking.
> 
> some simple commands to grep and kill? 
> 
> 
> thank you 
> J�rgen
> 
>  
> 
> _______________________________________________
> 64studio-devel mailing list
> [email protected]
> http://lists.64studio.com/mailman/listinfo/64studio-devel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHFI+MwRXgH3rKGfMRAlgLAJ0WIcGuZ5rmN/MVR36BGvLZRsWm4QCgi26L
J28wHJuY3vS4fmfgO7h0MSU=
=RlVd
-----END PGP SIGNATURE-----

_______________________________________________
64studio-devel mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-devel

Reply via email to