hs_create_view

Description

Defines a collection of data items to be recorded during a session.    

Syntax

hs_create_view view_name, 
 data_item_name_1, data_item_stat_1 
[,data_item_name_2, data_item_stat_2]...

Parameters

view_name

user-defined name of the view. The view name must be constructed from the characters a – z, A – Z, 0 – 9, and the underscore character (_).

data_item_name_x

data items that participate in the view. If a data item contains embedded spaces, surround it with quotation marks.

See Table A-1 for a list of available data items. See Table B-2 for valid combinations of data items within views.

data_item_stat_x

statistic types of the respective data items. The statistic type must be surrounded with quotation marks. Valid statistic types are:

Not all statistic types are valid for all data items. See Table B-3.

Examples

Example 1

This example creates a view called Page I/O that contains the Page I/O data item with a Value for Session statistic type and the Kernel Process ID data item with a Value for Sample statistic type.

hs_create_view PageIO,"Page I/O","Value for Session","Kernel Process ID","Value for Sample"

Usage