Linux shutdown reason

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Linux shutdown reason

405 次查看
jjysekm
Contributor I

Hi All,

As part of my understanding, Is there a way Linux OS can know the reboot reason? I am trying to understand if Linux can understand abrupt shutdown scenario happened in previous boot.

Currently I am using NXP BSP L4.14.98_2_0_0.

Thanks

0 项奖励
1 回复

368 次查看
b36401
NXP Employee
NXP Employee

You can move /var/log from tmpfs to "real" filesystem.
Then the logs will not be cleaned with every reboot.

0 项奖励