try fuser. eg
fuser /dev/dsp.
Note that RH6 uses a sound daemon (esd, part of esound iirc). Which is a
much better way of doing things. However it does mean mean /dev/dsp is
always in use, which is annoying if you still have to use app's that don't
know about esd.
To make live easier esd takes a commandline arg to make it release /dev/dsp
when idle. Check the man page for this option.
regards,
Paul Jakma
> -----Original Message-----
> From: Fred Cummins [mailto:fred.cummins at ucd.ie]
> Sent: 25 January 2000 11:58
> To: ilug at linux.ie> Subject: [ILUG] Who is blocking /dev/dsp
>>> Anyone know a way to find out which process is hogging /dev/dsp when I
> get the message
>> > /dev/dsp: Device or resource busy
>> ?
>> thanks
>> fred
>> --
> ..............................................................
> ..........
> --> mail: Dr Fred Cummins, Dept of Computer Science,
> U.C.D, Dublin 4
> --> email: fred.cummins at ucd.ie
> --> www: www.cs.ucd.ie/staff/fcummins
> --> phones: +353-(0)1-7062902 / +353-(0)87-2315777
> ..............................................................
> ..........
>> --
> Irish Linux Users' Group: ilug at linux.ie>http://www.linux.ie/mailman/listinfo/ilug for
> (un)subscription information.
> List maintainer: listmaster at linux.ie>
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!