How to know that PVE is shutting down

Lada

Member
Oct 23, 2019
13
0
21
43
Hello,

I would like to know if there is a method via api or cli on a node to know if it is shutting down.
On some of my nodes PVE takes more than a minute to complete a shutdown so I would to know it to avoid launching some of my bash for no reason.

Thank you.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!