How To Distinguish Between A Crash and A Graceful Reboot in RHEL 7 or RHEL 8
How To Distinguish Between A Crash and A Graceful Reboot in RHEL 7 or RHEL 8
How To Distinguish Between A Crash and A Graceful Reboot in RHEL 7 or RHEL 8
How can you distinguish between a system crash and a graceful reboot or shutdown in
RHEL 7 or RHEL 8? This article outlines 4 approaches:
Note: events from last are printed in descending chronological order, with most recent
at the top.
Graceful shutdown:
Note: as the timestamps should make clear, events from ausearch are printed in
ascending chronological order, with oldest at the top.
Ungraceful shutdown:
This approach is great because it allows for complete control. Here's an example of how
to do it.