lsmod Used count

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

 



Hi,

Can someone tell me how can I know that which
different applications are using my driver indirectly
and/or directly ( via opening dev files)?

lsmod shows the count "Used".
Every driver writer will increment the count in the
open() call.
How can I know that who is using the module?
lsmod shows the modules which are dependent on it but
not the applications/processes.

If we can get the process id which are using it, than
also it is fine.

Regards,
Parav Pandit


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux