Linux shutdown reason

cancel
Showing results for 
Search instead for 
Did you mean: 

Linux shutdown reason

240 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
1 Reply

203 Views
b36401
NXP TechSupport
NXP TechSupport

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

0 Kudos