Fortinet white logo
Fortinet white logo

CLI Reference

wvs limit

wvs limit

Use this command to limit scanning related settings, such as the scanning report size, request interval, etc.

To use this command, your administrator account’s access control profile must have either w or rw permission to the wvsgrp area. For details, see Permissions.

Syntax

config wvs limit

set report-path-size <report-path-size_int>

set request-interval <request-interval_int>

set scan-cpu-usage <scan-cpu-usage_int>

set scan-memory-usage <scan-memory-usage_int>

set single-report-size <single-report-size_int>

set verbose-output {enable | disable}

end

Variable Description Default

report-path-size <report-path-size_int>

Type the size of the folders that store all scanning reports of all policies (1024~51200 M)

10240

request-interval <request-interval_int>

Type the number of seconds between each request (1~1000 ms).

1

scan-cpu-usage <scan-cpu-usage_int>

Set the CPU limit. When the CPU of all scanning processes exceeds certain parentage of the total CPU, the scanning will be killed (10~80 percent).

70

scan-memory-usage <scan-memory-usage_int>

Set the memory limit. When the memory of all scanning processes exceeds certain parentage of the total memory , the scanning will be killed (10~80 percent).

40

single-report-size <single-report-size_int>

The size of the scanning report file for the first scanning in a single policy (1~5120 M).

512

verbose-output {enable | disable}

Control the output.txt contents. Enable to output detailed debug information, which causes large output.txt file.

disable

Example

This example shows how to configure scanning related limitations.

config wvs limit

set report-path-size 10500

set request-interval 3

set scan-cpu-usage 60

set single-report-size 700

set verbose-output disable

end

Related topics

wvs limit

wvs limit

Use this command to limit scanning related settings, such as the scanning report size, request interval, etc.

To use this command, your administrator account’s access control profile must have either w or rw permission to the wvsgrp area. For details, see Permissions.

Syntax

config wvs limit

set report-path-size <report-path-size_int>

set request-interval <request-interval_int>

set scan-cpu-usage <scan-cpu-usage_int>

set scan-memory-usage <scan-memory-usage_int>

set single-report-size <single-report-size_int>

set verbose-output {enable | disable}

end

Variable Description Default

report-path-size <report-path-size_int>

Type the size of the folders that store all scanning reports of all policies (1024~51200 M)

10240

request-interval <request-interval_int>

Type the number of seconds between each request (1~1000 ms).

1

scan-cpu-usage <scan-cpu-usage_int>

Set the CPU limit. When the CPU of all scanning processes exceeds certain parentage of the total CPU, the scanning will be killed (10~80 percent).

70

scan-memory-usage <scan-memory-usage_int>

Set the memory limit. When the memory of all scanning processes exceeds certain parentage of the total memory , the scanning will be killed (10~80 percent).

40

single-report-size <single-report-size_int>

The size of the scanning report file for the first scanning in a single policy (1~5120 M).

512

verbose-output {enable | disable}

Control the output.txt contents. Enable to output detailed debug information, which causes large output.txt file.

disable

Example

This example shows how to configure scanning related limitations.

config wvs limit

set report-path-size 10500

set request-interval 3

set scan-cpu-usage 60

set single-report-size 700

set verbose-output disable

end

Related topics