module_info will tell me quite a bit of what I need to know about a module - provided that I know its name. I have a need to find all modules whose names meet specific criteria (like companyname_creator_serialnumber.) I remember reading somewhere that erlang stores this information, but I am looking for a way to retrieve it.
EDIT:
all_loaded() returns all the modules that have been loaded, but if the module I'm looking for hasn't been referenced yet, it isn't in the all_loaded list.
To list all currently loaded modules in Linux, we can use the lsmod (list modules) command which reads the contents of /proc/modules like this.
Use the lsmod command to list the modules that are currently loaded into the kernel.
The lsmod command shows a list of the currently loaded kernel modules.
Is this what you are looking for?
code:all_loaded().
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With