Viewing Project Contents (vtl)

This information applies to the command-line interface (vtl) only.

Viewing the Collected Data

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.

Viewing Most Recent Activity Results

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.

Note

To view the imported results, you should always specify the complete Activity result name.

Command-line example:

>vtl view f1::r1

Viewing the Activity Results in the Graphic User Interface

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.

Viewing Results of the Multi-collector Activity

To view the results of the multi-collector Activity, do the following:

  1. Create and run a multi-collector Activity.
    Command-line example:

>vtl activity -c sampling -c callgraph -master sampling -app ./vtunedemo -moi ./vtunedemo run

  1. View the project contents.
    Command-line example:

>vtl show

a1__Activity1

    r1____Mon Oct 21 12:10:10 2002

  1. 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.