Intel AMT Features > Remote Control > Use Cases > Check if the Host CPU has Halted Unexpectedly
CollapseAll image

Check if the Host CPU has Halted Unexpectedly

The following steps describe how to check if the Host has halted due an operating system crash (“blue screen”) or other cause.

1.  Retrieve the instance of CIM_Watchdog, where the “DeviceID” key equals “Watchdog 0”.

2.  Examine TimeOfLastExpiration. If the value is "1111-11-11T11:11:11Z", then the watchdog expired. Perform processing done for a detected processor halt.  If the value is ‘0000-00-00T00:00:00Z”, then the OS has loaded.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$watchdogRef =$wsmanConnectionObject.NewReference("SELECT * FROM CIM_Watchdog WHERE DeviceID='Watchdog 0'")

$watchdogInstance =$watchdogRef.Get()

$timeOfLastExpiration =$watchdogInstance.GetProperty("TimeOfLastExpiration")

$fwVersion = GetCoreVersion

if($fwVersion.ToString() -ge "5.1")

{

    $timeOfLastExpiration =$timeOfLastExpiration.InternalObject.Text

}

 

 

Instance Diagram

Not applicable

Classes Used in This Flow

   CIM_Watchdog

SDK Sample

Not applicable

 

Copyright © 2006-2022, Intel Corporation. All rights reserved.