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

查看:54
本文介绍了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)

到处都找不到,

如果有人也能指出我正确的方向,为 printk() 函数提供某种手册,那就太好了!

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天全站免登陆