Partager via


Debugresmon command

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

Debugresmon command

The debugresmon command helps you to debug the resource monitor process and, therefore, the resource dynamic-link libraries (DLLs) that are loaded by the resource monitor. You can use any standard Windows-based debugger, such as Microsoft Developer Studio.

The syntax is:

clussvc /debug /debugresmon

Note

  • The debugresmon command can be used only when starting the cluster service in the command prompt window. The debugresmon command cannot be used as a start parameter when starting the cluster service in the Computer Management console.

Just before the resource monitor process is started up, the cluster service issues the message:

"Waiting for debugger to connect to the resmon process x"

where x is the process identification number (PID) of the resource monitor process.

After the resource monitor process has started and you have attached a debugger to the resource monitor process, the Cluster service continues with its initialization.

For more information on the Resource Monitor, see Resource Monitors.

For more information on resource DLLs, see Resource dynamic-link libraries (DLLs) in clusters running Windows Server 2003.

For more information on debugging resource DLLs, see the Microsoft Software Development Kit (SDK).