怎么打开linux内核,如何知道谁启动Linux内核模块

我的Linux计算机中有一个正在运行的内核模块(netns\_vrf),如下所示:

There is a running kernel module (netns\_vrf) in my Linux computer, like this:

$ lsmod | grep vrf

netns_vrf 8388 0

这个内核模块不是来自Linux发行版,而是来自第三方供应商,我不会在这里说出它的名字。

This kernel module is not from Linux distribution, it is from a third party vendor, I will not say its name here.

$ modinfo netns_vrf

filename: /lib/modules/4.4.96-pc64-distro.git-17.11.2-rcp1/net/netns-vrf.ko

author: 《SOME COMPANY NAME》

license: GPL

depends:

vermagic: 4.4.96-pc64-distro.git-17.11.2-rcp1 SMP mod_unload

我的Linux是由systemd启动的,有没有办法知道哪个systemd服务器插入了这个内核模块? 我用谷歌搜索了一段时间,但找不到答案。

My Linux was started by systemd, is there a way to know which systemd server insert this kernel module? I have googled a while, but could not find the answer.

**已更新**:" google" 我的系统,找出插入内核模块的脚本。

**Updated**: "google" my system, and find out the script who insert the kernel module.

#cd /usr

#sudo grep -R netns_vrf * 2》/dev/null

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值