How do I access a list of users/programs that accessed a certain module?
lsmod | grep ^uvcvideo
This returns this line when no application is using my video camera:
uvcvideo 86016 0
Well, I have something running that when "0" at the end of the line turns to anything but 0 (in practice this is usually 1) it sends me a notification that my camera is in use.
I want to know if there is a log of programs that turned that 0 to a 1, or which modules are accessed when/how.