Skip to content

How to graceful/gracefully shutdown a Ubuntu machine? #1712

Description

@rgl

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))'
]

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions