Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP SQL Anywhere, on-demand edition 1.0 SP 6 » Task syntax

MeasureCPUPerformance task

Measures and records the CPU performance characteristics of the specified host.

Syntax 1 (SQL)
CALL DBCloud.MeasureCPUPerformance ( host=host )
Syntax 2 (Cloud Command utility)
dbcloudcmd run MeasureCPUPerformance host
Parameters
  • host

    The host whose CPU performance is to be measured. Accepts a search query that identifies one host, for example a host name or ID. (Required)

Required privileges

Administrator

Remarks

This task runs a CPU benchmark on the specified host and records the results as the cpu_performance attribute of the host.

The value recorded rates the performance of the host's CPU. The higher the value attributed to the host, the better its CPU performance.

Run this task on hosts that are known to be idle; otherwise, the results may be meaningless.

To view the cpu_performance attribute from dbcloudcmd, run the following command:

dbcloudcmd describe MyHost

Example

Run the following task to measure the CPU performance on the host named myhost:

dbcloudcmd run MeasureCPUPerformance myhost