我在跑Linux 4.16.8-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux
。
我已经安装了该sysdig
软件包,并尝试运行它,我看到:
$ sudo sysdig
Unable to load the driver
error opening device /dev/sysdig0. Make sure you have root credentials and that the sysdig-probe module is loaded.
如何在基于 Arch 的 Manjaro Linux 上加载所需的模块?
答案1
我需要安装内核头文件:
sudo pacman -S linux416-headers
作为此过程的一部分,sysdig
安装了该模块:
:: Running post-transaction hooks...
(1/3) Updating linux416 module dependencies...
(2/3) Install DKMS modules
==> dkms install sysdig/0.21.0 -k 4.16.8-1-MANJARO