Intel® VTune™ Profiler

User Guide

ID 766319
Date 12/20/2024
Public
Document Table of Contents

command

Issue a command to a running collect action.

Syntax

-command=<value>

Arguments

<value> Description
mark Place time-stamped mark in the data that can be referenced during analysis.
pause Temporarily suspend the collection process. Use -command resume when you are ready to continue collection.
resume Continue collection on a paused collection process.
status Print collection status.
stop Terminate a running collection process. Alternatively, use ctrl + c.

Description

This option performs one of the following actions on a running collect action: pause, resume, stop, status, or mark. Use with result-dir to specify the result directory for the running analysis.

Example

This example terminates the collect process in the default directory.

vtune -command stop

Run an unlimited duration collect process, which runs until stopped.

vtune -collect hotspots -knob sampling-mode=hw -duration unlimited -r ./results/r002hs

In another window, use -command stop to terminate the process running in the result directory results/r002hs, specified by the -r option (shortname of result-dir).

 vtune -command stop -r ./results/r002hs