Skip to main content
Command reference

debug hwpmc create

Suggest changes

Start a new HWPMC profile

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

The debug hwpmc create command is used to create a Hardware Performance Monitoring Counter profile.

Parameters

-node {<nodename>|local} - Node Name (privilege: advanced)

This parameter specifies the node for which the profile will be created.

-name <text> - Name of the HWPMC Profile (privilege: advanced)

This parameter specifies the name of the profile that will be created. The default name will be the date and time the profile was created, e.g. 2023_06_07-08_53_44_UTC.

-counter <text> - HWPMC Event Specification (privilege: advanced)

This parameter specifies the performance monitoring counter event to sample. The default counter is "UNHALTED-CORE-CYCLES".

[-process <text>] - Profile Specific Process (privilege: advanced)

This parameter specifies the process to sample; may be a non-negative integer denoting a specific process id, or a regular expression for selecting processes based on their names. This field is optional.

Examples

This example creates a hwpmc profile with default parameters.

cluster1::> debug hwpmc create -node node1