Below command can be used.
sudo modinfo $(lsmod | cut -d " " -f 1 | tail -n +2) |egrep "name|description"
Below is sample output.
filename: /lib/modules/5.15.0-207.156.6.el8uek.x86_64/kernel/drivers/scsi/libiscsi_tcp.ko.xz
description: iSCSI/TCP data-path
name: libiscsi_tcp
filename: /lib/modules/5.15.0-207.156.6.el8uek.x86_64/kernel/drivers/scsi/libiscsi.ko.xz
description: iSCSI library functions
name: libiscsi
filename: /lib/modules/5.15.0-207.156.6.el8uek.x86_64/kernel/drivers/scsi/scsi_transport_iscsi.ko.xz
description: iSCSI Transport Interface
name: scsi_transport_iscsi
No comments:
Post a Comment