Query managed capacity

Use the managed_capacity command to display information about Tivoli® Storage FlashCopy® Manager managed capacity and licensing.

When you run the managed_capacity command, an XML managed capacity and licensing report is printed to the ACS directory or to another specified directory:

The report that is generated lists the capacity value that is calculated from source disks that are protected by Tivoli Storage FlashCopy Manager for which a FlashCopy or snapshot backup was created. If a volume contains multiple backups, that volume is counted once during the query. Identify the repository from which to list backups by specifying the profile that is associated with the source volume. The output displays the total managed capacity for all source volumes.

The fcmcli -f managed_capacity syntax is as follows:
fcmcli -f managed_capacity [-p profile] [-c] [-o <output_directory>]
-p
Specify the name of the Tivoli Storage FlashCopy Manager profile that is associated with the backups on the volume.
-c
Specify this option to display the output as comma-separated values.
-o
Specify this option to print the report to a specified directory as an XML report to view in your browser. When you do not specify a -o directory, the report is printed to ACS_DIR/capacity_reports.
Tip: Ensure to regularly delete old copies of managed capacity reports from the output directory.

Example output

This command displays managed capacity for the profile in /db2/DAB/sqllib/acs:
fcmcli -f managed_capacity -p /db2/DAB/sqllib/acs/profile
Output:
FMM0461I Created tracefile '/db2/DAB/sqllib/acs/logs/fmquery.trace' for process ID
        '31634'.
FMM1498I Front-End Capacity Report: Total protected size: 108.723 MB
FMM1497I Front-End Capacity Report: Number of managed objects: 1
FMM1496I Back-End Capacity Report: Total protected size: 217.445 MB
FMM1493I Back-End Capacity Report: Number of managed objects: 2
FMM1495I Logical Unit (LUN) Capacity Report: Total protected size: 768.000 MB
FMM1494I Logical Unit (LUN) Capacity Report: Number of managed objects: 2  
This command displays all volumes for the profile that is in /db2/DAB/sqllib/acs as comma-separated values:
fcmcli -f managed_capacity -p /db2/DAB/sqllib/acs/profile -c
Output:
...
tsm_sur_capacity,0
tsm_sur_objects,0
fcm_be_capacity,0
fcm_be_objects,0
fcm_lun_capacity,8589934592
fcm_lun_objects,4
tsm,no

For more information about front-end and back-end capacity and how to measure them, see the latest User's Guide at this site ftp://public.dhe.ibm.com/storage/tivoli-storage-management/front_end_capacity_measurement_tools/