print tablesize
You can use the print tablesize command to view a list of the maximum values for your device. The four columns of values provide the following information, respectively:
- Maximum number of variables allowed for this object type
- Maximum number of objects of this type allowed per virtual domain (VDOM)
- System global limit for maximum number of objects of this type
- Current total number of objects of this type existing in FortiOS
A value of 0 indicates that there is no maximum value limit.
To check the maximum number of variables that you can append to all log messages:
# print tablesize ... log.setting:custom-log-fields: 5 0 0 0 ...
This means that you can add up to five variables:
config log setting
set custom-log-fields <field_1> <field_2> <field_3> <field_4> <field_5>
end
To check the external resource table size limit for your device:
In this example, the device has a global limit of 512, a per-VDOM limit of 256, and there are currently no external resources existing in FortiOS. the available memory on the device limits the total number of feeds.
# print tablesize ... system.external-resource: 0 256 512 0 ...
To check the current total number of objects of this type existing in FortiOS:
# print tablesize system.vdom: 0 0 10 3 system.datasource: 0 0 0 3 system.timezone: 0 0 0 597 system.accprofile: 0 0 10 5 system.np6xlite: 0 256 512 1 system.vdom-link: 0 0 0 3 ...