Skip to main content

Sample Counters

Sample Counters

Starts a job to continuously Pause and Resume a collection, creating a periodic sampling of metrics. If wait_time = 0, the background job is stopped and collection is Paused.

Format:

status = $$Sample^PERFMON(wait_time,sample_time)

Parameters:

  • wait_time — number of seconds between collections (default = 10)

  • sample_time — number of seconds a collection should last (default = 1)

Status Codes:

Status code Description
1 Successful
-2 Monitor is not running
-8 Sample job already running
FeedbackOpens in a new tab