Generates a binary recording of local system statistics, central electronics process (CEC) statistics, and cluster statistics.
topasrec { -local [ -trace trace_level] | -cec | -cluster} [ -count sample_count] [ -interval seconds] [ -out filename ]
The topasrec command records the local system data and the cross-partition data (CEC statistics) in binary format.
When you run the topasrec command to record CEC statistics, the command collects a set of metrics from the AIX® logical partitions that are running on the same CEC. The command collects dedicated and shared logical partition data, as well as a set of aggregated values to provide an overview of the partition set on the same CEC.
When you run the command to record cluster statistics, the command collects a set of metrics for the list of hosts that are specified in the cluster configuration file.
| Flag name | Description |
|---|---|
| -count | Specifies the number of records to generate. |
| -interval | Specifies the recording interval in seconds. The default is 2 seconds. |
| -out | Specifies the name of the output file. |
| -cec | Records the CEC statistics in binary format. |
| -local | Records local system statistics in binary format. |
| -cluster | Records cluster statistics in binary format. |
| -trace | Specifies a trace level. Trace data is stored under /home/padmin/.topasrec. You can specify a value from 1 - 9. More trace data is generated at higher trace levels. This data is useful for recording status and for debugging purposes. Trace data is collected only for local system recording. |
| Return Code | Description |
|---|---|
| 0 | Success |
| >0 | An error occurred |
topasrec -local -count 5 -interval 60
topasrec -cec -count 5 -interval 60
topasrec -cluster -count 5 -interval 60