Detect Linux Kernel modules using Relevance

Hi All,

IS there a way I can detect a Linux kernel module loaded using Relevance?
I can write an analysis or a task to perfrom “lsmod” command and check but prefer to start with Relevnace if possible.

Cheers,
Dan

I would like this info also

I don’ t think there is any bigfix inspector which can run the OS based command. you have to create shell script for that.

I wonder whether one could go right to the source…as I understand it, lsmod gives a nicely-formatted output based on /proc/modules. Could the /proc filesystem be inspected directly in relevance?

1 Like

I’m with @JasonWalker on this. You should be able to parse ‘/proc/modules’ and get the information you need.

Simple way to do this:

preceding texts of firsts " " of lines of files “/proc/modules”

This returns all modules… live, loaded, unloaded. So, if you want to return only loaded modules you’d need to modify the relevance above.