Linux pstore有哪些使用技巧

   2024-10-07 3510
核心提示:使用dmesg命令查看pstore的日志信息:可以使用dmesg命令查看pstore日志信息,例如:dmesg | grep pstore使用pstore工具查看pstor

使用dmesg命令查看pstore的日志信息:可以使用dmesg命令查看pstore日志信息,例如:

dmesg | grep pstore
使用pstore工具查看pstore的日志信息:可以使用pstore工具来查看pstore的日志信息,例如:
pstore -l
设置pstore的存储大小:可以通过sysfs接口来设置pstore的存储大小,例如:
echo 1024 > /sys/fs/pstore/ramoops/volume_size
使用pmsg工具查看pstore的日志信息:可以使用pmsg工具来查看pstore的日志信息,例如:
pmsg -p /sys/fs/pstore/console-ramoops-0
使用pstore清除日志信息:可以通过sysfs接口来清除pstore的日志信息,例如:
echo clear > /sys/fs/pstore/console-ramoops-0/dump
使用pstore保存panic信息:当系统发生panic时,pstore会保存panic信息,可以通过pstore工具来查看这些信息,例如:
pstore -l
使用pstore保存内核oops信息:当内核发生oops时,pstore会保存oops信息,可以通过pstore工具来查看这些信息,例如:
pstore -l

 
举报打赏
 
更多>同类物流大全
推荐图文
推荐物流大全
点击排行

网站首页  |  关于我们  |  联系方式 | 网站留言    |  赣ICP备2021007278号