Linux shutdown reason

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Linux shutdown reason

390件の閲覧回数
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 返信

353件の閲覧回数
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 件の賞賛