Patent ID: 11900129
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 14:
15. A computer program product, the computer program product comprising:
one or more computer-readable storage medium and program instructions stored on at least one of the one or more computer-readable storage medium, the program instructions executable by a processor capable of performing a method, the method comprising:
receiving a command to initiate an OS shutdown from a user;
creating a first list of one or more running tasks to terminate according to a given order in response to receiving the command;
determining whether there is historical data relating to at least one of the one or more running tasks to terminate as requiring user input to terminate; and
in response to determining there is no historical data:
sending a termination request to a particular running task of the one or more running tasks to terminate in accordance with a given order of the created first list;
determining whether the particular running task requires the user input to terminate; and
in response to determining the particular running task requires the user input to terminate:
increasing a weight of the particular running task, wherein the increased weight of the particular running task is added to a machine learning (ML) model as the historical data.