Fortinet black logo

CLI Reference

system performance status

system performance status

Use this command to display FortiGate CPU usage, memory usage, network usage, sessions, virus, IPS attacks, and system up time.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

Memory: ... freeable

A new memory paramater (freeable) has been added, to highlight the amount of cache that can be freed.

The addition of freeable to used memory can help to distinguish extreme levels of memory usage, and how it can be alleviated.

Syntax

get system performance status

Variable Description

CPU states

The percentages of CPU cycles used by user, system, nice and idle categories of processes. These categories are:

user -CPU usage of normal user-space processes

system -CPU usage of kernel

nice - CPU usage of user-space processes having other-than-normal running priority

idle - Idle CPU cycles

Adding user, system, and nice produces the total CPU usage as seen on the CPU widget on the web-based system status dashboard.

Memory states

The percentage of memory used.

Average network usage

The average amount of network traffic in kbps in the last 1, 10 and 30 minutes.

Average sessions

The average number of sessions connected to the FortiGate unit over the list 1, 10 and 30 minutes.

Virus caught

The number of viruses the FortiGate unit has caught in the last 1 minute.

IPS attacks blocked

The number of IPS attacks that have been blocked in the last 1 minute.

Uptime

How long since the FortiGate unit has been restarted.

Example output

get system performance status
CPU states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
CPU0 states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
CPU1 states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
CPU2 states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
CPU3 states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
Memory: 1911664k total, 1033776k used (54.1%), 774816k free (40.5%), 103072k freeable (5.4%)
Average network usage: 26 / 1 kbps in 1 minute, 25 / 0 kbps in 10 minutes, 26 / 0 kbps in 30 minutes
Average sessions: 28 sessions in 1 minute, 26 sessions in 10 minutes, 26 sessions in 30 minutes
Average session setup rate: 0 sessions per second in last 1 minute, 0 sessions per second in last 10 minutes, 0 sessions per second in last 30 minutes
Average NPU sessions: 0 sessions in last 1 minute, 0 sessions in last 10 minutes, 0 sessions in last 30 minutes
Average nTurbo sessions: 0 sessions in last 1 minute, 0 sessions in last 10 minutes, 0 sessions in last 30 minutes
Virus caught: 0 total in 1 minute
IPS attacks blocked: 0 total in 1 minute
Uptime: 4 days, 18 hours, 27 minutes

system performance status

Use this command to display FortiGate CPU usage, memory usage, network usage, sessions, virus, IPS attacks, and system up time.

History

The following table shows all newly added, changed, or removed entries as of FortiOS 6.0.

Command Description

Memory: ... freeable

A new memory paramater (freeable) has been added, to highlight the amount of cache that can be freed.

The addition of freeable to used memory can help to distinguish extreme levels of memory usage, and how it can be alleviated.

Syntax

get system performance status

Variable Description

CPU states

The percentages of CPU cycles used by user, system, nice and idle categories of processes. These categories are:

user -CPU usage of normal user-space processes

system -CPU usage of kernel

nice - CPU usage of user-space processes having other-than-normal running priority

idle - Idle CPU cycles

Adding user, system, and nice produces the total CPU usage as seen on the CPU widget on the web-based system status dashboard.

Memory states

The percentage of memory used.

Average network usage

The average amount of network traffic in kbps in the last 1, 10 and 30 minutes.

Average sessions

The average number of sessions connected to the FortiGate unit over the list 1, 10 and 30 minutes.

Virus caught

The number of viruses the FortiGate unit has caught in the last 1 minute.

IPS attacks blocked

The number of IPS attacks that have been blocked in the last 1 minute.

Uptime

How long since the FortiGate unit has been restarted.

Example output

get system performance status
CPU states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
CPU0 states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
CPU1 states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
CPU2 states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
CPU3 states: 0% user 0% system 0% nice 100% idle 0% iowait 0% irq 0% softirq
Memory: 1911664k total, 1033776k used (54.1%), 774816k free (40.5%), 103072k freeable (5.4%)
Average network usage: 26 / 1 kbps in 1 minute, 25 / 0 kbps in 10 minutes, 26 / 0 kbps in 30 minutes
Average sessions: 28 sessions in 1 minute, 26 sessions in 10 minutes, 26 sessions in 30 minutes
Average session setup rate: 0 sessions per second in last 1 minute, 0 sessions per second in last 10 minutes, 0 sessions per second in last 30 minutes
Average NPU sessions: 0 sessions in last 1 minute, 0 sessions in last 10 minutes, 0 sessions in last 30 minutes
Average nTurbo sessions: 0 sessions in last 1 minute, 0 sessions in last 10 minutes, 0 sessions in last 30 minutes
Virus caught: 0 total in 1 minute
IPS attacks blocked: 0 total in 1 minute
Uptime: 4 days, 18 hours, 27 minutes