This information applies to the command-line interface (vtl) only.
To view the content of a particular Activity result, use the view command:
vtl view [[-ar | -activity-result]<name>]
[options...]
{-dof | -dump-options-to-file <filename>}
Specify the <name> parameter in the format ActivityName::ActivityResultName. The Activity can be identified by its actual name or the shortcut form of its internal name: [a]number. To find out the Activity number, use the show command. For example, to view the Activity result of the second Activity, use the shortcut form and enter vtl view a2::r1 or vtl view 2::1.
[options...] are specific to the view associated with the collected data. See the help on specific views (vtl query -v <view>) for more details.
To view the most recent result of an Activity, use the -activity-result (or -ar) option and specify the Activity name as an argument.
Command-line example:
>vtl view -ar a2
This example opens the most recently generated Activity result of the Activity a2 in the default view.
To view the imported results, you should always specify the complete Activity result name.
Command-line example:
>vtl view f1::r1
To view Activity Results in the graphic user interface, use the -gui option, and specify the Activity name as an argument <act_name::ar_name>. If no Activity result is specified, the graphical view opens for the latest Activity result.
Command-line example:
>vtl view f1::r1 -gui
This example opens the r1 Activity result of the Activity f1 in the graphic user interface.
To view the results of the multi-collector Activity, do the following:
Create and run a multi-collector Activity.
Command-line example:
>vtl activity -c sampling -c callgraph -master sampling -app ./vtunedemo -moi ./vtunedemo run
View the project contents.
Command-line example:
>vtl show
a1__Activity1
r1____Mon Oct 21 12:10:10 2002
View the Activity result data.
Command-line example:
>vtl view -ar a1 -processes
OR
>vtl view a1::r1 -processes
This example opens the sampling results of the multi-collector Activity in the process view.