Data Growth Summary and Prediction Report for the Command Line
The Data Growth Summary and Prediction Report predicts the number of days that storage policy copy default data path libraries can be used, based on the amount of data growth over the specified time period and the current amount of free space for each storage policy copy default data path library.
Note: If you want to collect information for all libraries, use the GET Library Details REST API. If you want to collect information for all mount paths, use the GET Drive Controller REST API. For more information, see GET Library Details REST API.
Running the Report
- Open the command prompt and navigate to the <software installation path>\Base> folder.
- Enter qlogin, and then enter your user name and password.
- Run the following command:
qoperation execscript -sn QS_DataGrowthSummary -si @Frequency = '<unit of time over which to gather information>' -si @Periods='<number of days, weeks, or months>' –si @StartDate=’<mm/dd/yyyy>’ –si @EndDate=’<mm/dd/yyyy>’ -format 'csv' –file '<output location and filename>'
The report is saved to the location that you specified.
Example
To see a summary of data growth that happened for storage libraries on the CommServe over 3 months, run the following command:
qoperation execscript -sn QS_DataGrowthSummary -si @Frequency = 'Month' -si @Periods='3' -si @StartDate='04/01/2012' -si @EndDate='07/01/2012' -format 'csv' –file 'C:\Reports\sample.csv'
For more information about the execscript command, see Command Line Interface - CommServe - Qoperation Execscript.
Usage and Help
- Open the command prompt and navigate to the <software installation path>\Base> folder.
- Enter qlogin, and then enter your user name and password.
- Run the following command:
qoperation execscript -sn QS_DataGrowthSummary -help
Parameters
The report script includes several parameters that you can set, according to your needs. Parameters for the Data Growth Summary Report include the following:
Parameter |
Description |
Default Setting |
Frequency |
Text only. Specifies the unit of time over which to gather information. Options include the following:
|
Week |
Periods |
Numeric value. Specifies the number days, weeks, or months over which to gather information. This parameter is ignored if the StartDate parameter is set. |
8 |
StartDate |
Date format: MM/DD/YYYY. Specifies the date on which to begin the report. |
N/A |
EndDate |
Date format: MM/DD/YYYY. Specifies the date on which to stop the report. |
current date |
format |
Text only. Specifies the file format in which the report saves. Options include the following:
|
N/A |
file |
Text only. Specifies the location and name of the saved report. |
dN/A |
Last modified: 10/1/2018 2:48:58 PM