| Crates.io | kmoddep |
| lib.rs | kmoddep |
| version | 0.1.5 |
| created_at | 2024-04-29 20:58:47.929407+00 |
| updated_at | 2024-07-10 13:29:54.726592+00 |
| description | Linux module information |
| homepage | https://github.com/isbm/kmoddep |
| repository | https://github.com/isbm/kmoddep |
| max_upload_size | |
| id | 1224499 |
| size | 26,595 |
A tiny library to work with Linux kernel module information. It currently features the following:
https://docs.rs/kmoddep/latest/kmoddep/
use kmoddep::modinfo::lsmod;
fn main() {
for m in lsmod() {
println!("{:<30} {:<10} {} {}", m.name, m.mem_size, m.instances, m.dependencies.join(", ");
}
}