linux之dmesg命令
来源:互联网 发布:python 执行shell命令 编辑:程序博客网 时间:2024/09/21 10:42
显示内核消息
dmesg [options]
dmesg 可以用来显示存储在内核环缓冲区中的消息
系统启动时,内核会用硬件和模块初始化的相关消息填充其环缓冲区。内核环缓冲区中的消息常常用于诊断系统问题
选项
-c 运行dmesg后情况内核环缓冲区
示例
dmesg >
复制代码
[root@localhost ~]# dmesg > message
[root@localhost ~]# head -4 message
Initializing cgroup subsys cpuset
Initializing cgroup subsys cpu
Linux version 2.6.32-279.el6.i686 (mockbuild@c6b9.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Fri Jun 22 10:59:55 UTC 2012
KERNEL supported cpus:
复制代码
将系统启动的情况重定向到某一文件
dmesg | grep
[root@localhost ~]# dmesg | grep eth0
e1000 0000:00:03.0: eth0: (PCI:33MHz:32-bit) 08:00:27:14:99:a3
e1000 0000:00:03.0: eth0: Intel(R) PRO/1000 Network Connection
e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
8021q: adding VLAN 0 to HW filter on device eth0
eth0: no IPv6 routers present
过滤dmesg中的信息
- linux之dmesg命令
- Linux之dmesg命令
- linux命令之-dmesg详解
- 图解Linux命令之--dmesg命令
- Linux命令:dmesg
- Linux命令:dmesg
- Linux命令--dmesg
- linux dmesg命令
- linux dmesg命令使用
- linux dmesg命令详解
- linux dmesg命令使用
- linux dmesg命令
- linux命令:dmesg
- Linux性能测试 dmesg命令
- Linux性能测试 dmesg命令
- Linux下dmesg命令使用
- linux下dmesg命令详解
- linux信息查看,dmesg命令
- mono touch中,UISlider控件的使用
- java swing应用(4):实现一个精美的时钟
- 网站申请与部署
- NSNotificationCenter的使用
- 黑马程序员——java常用转义字符
- linux之dmesg命令
- 快速排序的多种实现比较
- 在英特尔® 架构平台上开发和优化基于 NDK 的 Android 游戏应用
- Linux 文件按大小排序
- 应用.NET Reflect7.0反编译工具
- Linux下tty/pty/pts/ptmx详解
- COPY命令:为PostgreSQL批量导入数据
- fatal error C1189
- CRT检测内存泄露