The host(s) on which this operation should be performed are selected using the standard selection mechanism (see host selectors above). Optional arguments can be any number of the host parameters listed at the beginning of this section.

host-data-source-list

host-data-source-list[<host-selectors>=<host selector value>...]

List the data sources that can be recorded for a host.

Select the host(s) on which to perform this operation by using the standard selection mechanism (see host selectors). Optional arguments can be any number of the host parameters listed at the beginning of this section. If no parameters to select hosts are given, the operation will be performed on all hosts.

Data sources have two parameters — standard and enabled — which can be seen by the output of this command. If a data source has enabled set to true, then the metrics are currently being recorded to the performance database. If a data source has standard set to true, then the metrics are recorded to the performance database by default (and so, enabled will also be set to true for this data source). If a data source has standard set to false, then the metrics are not recorded to the performance database by default (and so, enabled will also be set to false for this data source).

To start recording data source metrics to the performance database, run the host-data-source-recordcommand. This will set enabled to true. To stop, run the host-data-source-forget. This will set enabled to false.

host-data-source-record

host-data-source-recorddata-source=<name_description_of_data-source>[<host-selectors>=<host selector value>...]

Record the specified data source for a host.

This operation writes the information from the data source to the persistent performance metrics database of the specified host(s). For performance reasons, this database is distinct from the normal agent database.

Select the host(s) on which to perform this operation by using the standard selection mechanism (see host selectors). Optional arguments can be any number of the host parameters listed at the beginning of this section. If no parameters to select hosts are given, the operation will be performed on all hosts.

host-data-source-forget

host-data-source-forgetdata-source=<name_description_of_data-source>[<host-selectors>=<host selector value>...]

Stop recording the specified data source for a host and forget all of the recorded data.

Select the host(s) on which to perform this operation by using the standard selection mechanism (see host selectors). Optional arguments can be any number of the host parameters listed at the beginning of this section. If no parameters to select hosts are given, the operation will be performed on all hosts.

host-data-source-query

host-data-source-querydata-source=<name_description_of_data-source>[<host-selectors>=<host selector value>...]

Display the specified data source for a host.

Select the host(s) on which to perform this operation by using the standard selection mechanism (see host selectors). Optional arguments can be any number of the host parameters listed at the beginning of this section. If no parameters to select hosts are given, the operation will be performed on all hosts.

135

Page 153
Image 153
Citrix Systems 6 manual Host-data-source-list, Host-data-source-record, Host-data-source-forget, Host-data-source-query