Skip to end of metadata
Go to start of metadata

Introduction

This how-to article provides an overview of some commands which could be used to view Fortinet system performance


Step 1: Get Fortigate system performance status information

Example
get system performance status
Sample output
CPU states: 2% user 4% system 0% nice 94% idle
CPU0 states: 2% user 4% system 0% nice 94% idle
Memory states: 28% used
Average network usage: 505 / 466 kbps in 1 minute, 582 / 543 kbps in 10 minutes, 600 / 569 kbps in 30 minutes
Average sessions: 509 sessions in 1 minute, 537 sessions in 10 minutes, 588 sessions in 30 minutes
Average session setup rate: 3 sessions per second in last 1 minute, 3 sessions per second in last 10 minutes, 3 sessions per second in last 30 minutes
Virus caught: 0 total in 1 minute
IPS attacks blocked: 0 total in 1 minute
Uptime: 0 days,  1 hours,  37 minutes

Step 2: Get Fortigate firewall statistics

Example
get system performance firewall statistics
Sample output
getting traffic statistics...
Browsing: 940450 packets, 524472566 bytes
DNS: 13043 packets, 1485374 bytes
E-Mail: 4250 packets, 520033 bytes
FTP: 38 packets, 2262 bytes
Gaming: 0 packets, 0 bytes
IM: 0 packets, 0 bytes
Newsgroups: 0 packets, 0 bytes
P2P: 0 packets, 0 bytes
Streaming: 0 packets, 0 bytes
TFTP: 0 packets, 0 bytes
VoIP: 0 packets, 0 bytes
Generic TCP: 1236146 packets, 346009447 bytes
Generic UDP: 213960 packets, 108111573 bytes
Generic ICMP: 9346 packets, 577722 bytes
Generic IP: 324 packets, 15830 bytes

Step 3: Get Fortigate firewall packet distribution information

Example
get system performance firewall packet-distribution
Sample output
getting traffic statistics...
Browsing: 940450 packets, 524472566 bytes
DNS: 13043 packets, 1485374 bytes
E-Mail: 4250 packets, 520033 bytes
FTP: 38 packets, 2262 bytes
Gaming: 0 packets, 0 bytes
IM: 0 packets, 0 bytes
Newsgroups: 0 packets, 0 bytes
P2P: 0 packets, 0 bytes
Streaming: 0 packets, 0 bytes
TFTP: 0 packets, 0 bytes
VoIP: 0 packets, 0 bytes
Generic TCP: 1236146 packets, 346009447 bytes
Generic UDP: 213960 packets, 108111573 bytes
Generic ICMP: 9346 packets, 577722 bytes
Generic IP: 324 packets, 15830 bytes