Identify Device usage
Alexander Dalloz
alexander.dalloz at uni-bielefeld.de
Fri Jul 30 20:48:16 UTC 2004
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
--
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.6-1.435.2.3.ad.umlsmp
Serendipity 22:47:15 up 4 days, 7:53, load average: 0.70, 0.37, 0.24
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040730/b8385374/attachment-0001.sig>
More information about the fedora-list
mailing list