Re: Identify Device usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux