[clug] Text to speech
David Price
david.price at anu.edu.au
Wed Dec 10 11:34:52 GMT 2003
On Wed, Dec 10, 2003 at 08:55:53AM +1100, Simon Burton wrote:
> Well, open(2) will block by default if something else has /dev/dsp. It could be a sound daemon:
> try this when running X:
> $ find /proc | grep fd | xargs ls -l | grep dsp
I'm not sure how standard a tool it is, but "fuser" does something
like this as well. It's in package "psmisc" on Debian and can be used
as follows:
fuser -v /dev/dsp
To produce output like:
USER PID ACCESS COMMAND
/dev/dsp mantys 7156 f.... xmms
The -m switch is handy when finding what process is stopping a
filesystem from being unmounted.
David
More information about the linux
mailing list