Am Fr, den 30.07.2004 schrieb Parameshwara Bhat um 17:18:
How to find out which program/service is using a device? There must surely be a command ?
Parameshwara Bhat
lsof /dev/$device
You for instance get with it:
$ lsof /dev/video0 COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME xawtv 8844 adalloz 4u CHR 81,0 31206 /dev/video0
Alexander