printk()打印到哪里? [英] Where does printk() print to?

查看:221
本文介绍了printk()打印到哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是在内核级别的printk()函数的一个快速问题,如果我将这个消息打印到哪里(我在最新的内核下载的i386 arch上使用Ubuntu)

Just a quick question on printk() function at the kernel level, if I call this where will the message be printed to?(I'm using Ubuntu on i386 arch with the latest kernel download)

在任何地方都找不到,

如果有人还能指出正确的方向, )功能会很棒!

If someone could also point me in the right direction for some sort of manual for the printk() function it would be great!

推荐答案

dmesg 应显示 printk 消息。

这篇关于printk()打印到哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆