How to graceful/gracefully shutdown a Ubuntu machine?
Do I need to install some agent (LMS?) in the machine before I can gracefully shutdown/restart it? If so, can you please point me in the right direction?
FYI, CIM_AssociatedPowerManagementService does not return any of the "graceful" options. It just returns these:
{
"AvailableRequestedPowerStates": [
10,
8,
5,
11
],
"PowerState": 2,
"RequestedPowerState": 2,
...
Which corresponds to:
powerState: #2 (On)
availablePowerStates: [
'#10 (Master Bus Reset)',
'#8 (Off - Soft)',
'#5 (Power Cycle (Off - Soft))',
'#11 (Diagnostic Interrupt (NMI))'
]
How to graceful/gracefully shutdown a Ubuntu machine?
Do I need to install some agent (LMS?) in the machine before I can gracefully shutdown/restart it? If so, can you please point me in the right direction?
FYI,
CIM_AssociatedPowerManagementServicedoes not return any of the "graceful" options. It just returns these:{ "AvailableRequestedPowerStates": [ 10, 8, 5, 11 ], "PowerState": 2, "RequestedPowerState": 2, ...Which corresponds to: