Use the following command to display information about system-reboot:
pbnoscli# show reboot-cause
Hardware - Other (Reset caused by hotswap or halt)
pbnoscli#
pbnoscli# show reboot-cause
User issued 'reboot' command [User: admin, Time: Tue 02 Aug 2022 03:01:03 AM UTC]
pbnoscli#