显示内核环缓冲区中的错误

比解析syslog有用得多
.

0

linux命令:dmesg -xT -l err,crit,emerg err,crit,emerg -l -xT dmesg dmesg -xT -l err,crit,emergrootopen.com
linux命令:dmesg -xT -l err,crit,emerg err,crit,emerg -l -xT dmesg dmesg -xT -l err,crit,emergrootopen.com
ixij 2018-05-20 02:48:48
输出
linux命令:dmesg 详解

评论

相关推荐

linux命令:dmesg -T -T dmesg dmesg -Trootopen.com
linux命令:dmesg -T -T dmesg dmesg -Trootopen.com
.

linux命令:dmesg -wx -wx dmesg dmesg -wxrootopen.com
linux命令:dmesg -wx -wx dmesg dmesg -wxrootopen.com
.

linux命令:dmesg | grep -i usb usb -i grep | dmesg dmesg | grep -i usbrootopen.com
linux命令:dmesg | grep -i usb usb -i grep | dmesg dmesg | grep -i usbrootopen.com
.

从dmesg获取cpu信息

linux命令:dmesg | grep cpu cpu grep | dmesg dmesg | grep cpurootopen.com
linux命令:dmesg | grep cpu cpu grep | dmesg dmesg | grep cpurootopen.com
.

使用sed为可读的dmesg输出的输出着色

linux命令:dmesg -T|sed -e 's|\(^.*'`date +%Y`']\)\(.*\)|\x1b[0;34m\1\x1b[0m - \2|g' \2|g' - +%Y`']\)\(.*\)|\x1b[0;34m\1\x1b[0m 's|\(^.*'`date -e -T|sed dmesg dmesg -T|sed -e 's|\(^.*'`date +%Y`']\)\(.*\)|\x1b[0;34m\1\x1b[0m - \2|g'rootopen.com
linux命令:dmesg -T|sed -e 's|\(^.*'`date +%Y`']\)\(.*\)|\x1b[0;34m\1\x1b[0m - \2|g' \2|g' - +%Y`']\)\(.*\)|\x1b[0;34m\1\x1b[0m 's|\(^.*'`date -e -T|sed dmesg dmesg -T|sed -e 's|\(^.*'`date +%Y`']\)\(.*\)|\x1b[0;34m\1\x1b[0m - \2|g'rootopen.com
.

检查SATA控制器类型. 6.0 Gbps - SATA III3.0 Gbps - SATA II1.5 Gbps - SATA I

linux命令:dmesg | grep -i sata | grep 'link up' up' 'link grep | sata -i grep | dmesg dmesg | grep -i sata | grep 'link up'rootopen.com
linux命令:dmesg | grep -i sata | grep 'link up' up' 'link grep | sata -i grep | dmesg dmesg | grep -i sata | grep 'link up'rootopen.com
.

Btrfs:查找校验和错误的文件名

linux命令:dmesg | grep -Po 'csum failed ino\S* \d+' | sort | uniq | xargs -n 3 find / -inum 2> /dev/null /dev/null 2> -inum / find 3 -n xargs | uniq | sort | \d+' ino\S* failed 'csum -Po grep | dmesg dmesg | grep -Po 'csum failed ino\S* \d+' | sort | uniq | xargs -n 3 find / -inum 2> /dev/nullrootopen.com
linux命令:dmesg | grep -Po 'csum failed ino\S* \d+' | sort | uniq | xargs -n 3 find / -inum 2> /dev/null /dev/null 2> -inum / find 3 -n xargs | uniq | sort | \d+' ino\S* failed 'csum -Po grep | dmesg dmesg | grep -Po 'csum failed ino\S* \d+' | sort | uniq | xargs -n 3 find / -inum 2> /dev/nullrootopen.com
.

Btrfs报告校验和失败的文件的inode数量。使用`find`查找这些inode的文件名。这些文件可能需要删除并替换为备份。

linux命令:dmesg | grep -Po 'csum failed ino\S* \d+' | awk '{print $4}' | sort -u | xargs -n 1 find / -inum 2> /dev/null /dev/null 2> -inum / find 1 -n xargs | -u sort | $4}' '{print awk | \d+' ino\S* failed 'csum -Po grep | dmesg dmesg | grep -Po 'csum failed ino\S* \d+' | awk '{print $4}' | sort -u | xargs -n 1 find / -inum 2> /dev/nullrootopen.com
linux命令:dmesg | grep -Po 'csum failed ino\S* \d+' | awk '{print $4}' | sort -u | xargs -n 1 find / -inum 2> /dev/null /dev/null 2> -inum / find 1 -n xargs | -u sort | $4}' '{print awk | \d+' ino\S* failed 'csum -Po grep | dmesg dmesg | grep -Po 'csum failed ino\S* \d+' | awk '{print $4}' | sort -u | xargs -n 1 find / -inum 2> /dev/nullrootopen.com
.

dmesg将显示它正在引导的内核。 不再依赖文件

linux命令:dmesg dmesg dmesgrootopen.com
linux命令:dmesg dmesg dmesgrootopen.com
.

dmesg管道less带有颜色

linux命令:dmesg -L=always | less -r -r less | -L=always dmesg dmesg -L=always | less -rrootopen.com
linux命令:dmesg -L=always | less -r -r less | -L=always dmesg dmesg -L=always | less -rrootopen.com
.
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

推荐
    热门命令