Linux shutdown reason

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linux shutdown reason

535 Views
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 Kudos
Reply
1 Reply

498 Views
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 Kudos
Reply