I am not sure if this is an appropriate question to ask but I am really intimidated by security concerns, so here we go.
Is there any way I can check which programs (like Google Chrome, Skype, etc.) are currently (at particular moment, not in general) using my laptop's camera or speakers or microphone. For example, there could be some malware installed by some program which opens up a connection and send the live microphone recording every now and then. Is there any way of finding out which software/programs are using which resources (resources here mean - audio, camera, etc.) at a given time.
Current OS: Ubuntu