An
operating system state
root cause inference method, device, equipment, medium and product are provided. The
operating system state
root cause inference method comprises: obtaining a structured event with a predefined format in an
operating system kernel; determining whether the operating
system is abnormally stopped; in response to determining that the operating
system is abnormally stopped, obtaining, by a
user state service, state information of the operating
system based on the structured event obtained in an operating system running cycle before abnormal stop through a predetermined state
machine; and obtaining, by the
user state service, an abnormal stop
root cause based on the state information of the operating system through the predetermined state
machine. Through the present disclosure, the structured degree and
machine analyzability of operating system abnormal stop analysis can be significantly improved, different fault types can be more accurately distinguished, kernel invasiveness and maintenance costs can be reduced, the implementability of rule iteration and product deployment can be improved, and
automatic inference and large-scale review can be realized.