1 个不稳定版本
0.1.0 | 2024年7月11日 |
---|
#52 在 #outputs
98 每月下载次数
7KB
91 代码行
lrsmod
Rust 实现的 lsmod
还以 JSON 格式输出,以便于自动化和脚本编写。
示例
lrsmod -json | jq . | head -n25
[
{
"name": "tls",
"memory": "151552",
"instances": 0,
"depends_on": "-",
"state": "Live",
"memory_offset": "0x0000000000000000"
},
{
"name": "r8153_ecm",
"memory": "12288",
"instances": 0,
"depends_on": "-",
"state": "Live",
"memory_offset": "0x0000000000000000"
},
{
"name": "cdc_ether",
"memory": "24576",
"instances": 1,
"depends_on": "r8153_ecm,",
"state": "Live",
"memory_offset": "0x0000000000000000"
},
依赖关系
~3–12MB
~100K SLoC