小编wan*_*son的帖子

如何检查 netconsole 是否真的有效?

我已netconsole使用此处给出的说明进行安装。

dmesg | grep netconsole 说一切都好,但我不会那么容易相信:)

如何让 Ubuntu 生成一些内核消息以查看是否netconsole真的有效并将所有内容发送到另一台计算机?

我试过:

logger -p kern.alert "test message" # this apparently talks to syslog only
echo "test message" >/dev/kmsg
Run Code Online (Sandbox Code Playgroud)

并写了一个小程序,只是做了一个段错误。所有这些都在 中生成了条目/var/log/kern.log,但不在 中dmesg,并且没有通过复制netconsole到另一台计算机。

那么我能做些什么来看看 netconsole 是否真的有效?

系统信息:

Ubuntu 12.04
Run Code Online (Sandbox Code Playgroud)

kernel networking 12.04

7
推荐指数
2
解决办法
3800
查看次数

标签 统计

12.04 ×1

kernel ×1

networking ×1