In the command line, you can manage performance analysis using the predefined Performance Analysis (Performance_Analyser) task.
To configure and run the Performance Analysis task from the command line, run the following command:
kics --perf-analyzer [--duration <minutes>] [--max-results <number>] [--scope <space-delimited list of directories>] {--result-file <file> --raw-result-file <file>}
where:
--duration <minutes> – duration of task execution in minutes. The range of possible values is from 1 to 9999 minutes. The default value is 60 minutes.--max-results <count> – maximum number of recommendations in the performance analysis report. The range of possible values is from 10 to 50. The default value is 10.--scope <space-delimited list of directories> – directories where performance is analyzed, separated by spaces. By default, performance is analyzed in all directories.--result-file <file> – full path to a JSON file formatted as a list of File Threat Protection exclusions. You can then import this file locally or into the Kaspersky Security Center group policy for creating exclusions for File Threat Protection.A value must be specified for the command line option if no value is specified for the --raw-result-file option.
--raw-result-file <file> – full path to a JSON file with detailed information about the performance analysis results.A value must be specified for the command line option if no value is specified for the --result-file option.
You can stop the task by pressing the Ctrl+C key combination. If you do so, the results of the task will not be saved.
Page top