Created on
03-07-2021
09:59 AM
Edited on
10-28-2025
02:23 AM
By
Jean-Philippe_P
Description
This article provides the command to find the uptime of the unit from the last reboot.
Scope
FortiGate.
Solution
To find the uptime of FortiGate, use the following command:
get system performance status
aegon-kvm20 # get system performance status
CPU states: 1% user 0% system 0% nice 99% idle 0% iowait 0% irq 0% softirq
CPU0 states: 1% user 0% system 0% nice 99% idle 0% iowait 0% irq 0% softirq
Memory: 2060324k total, 957800k used (46.5%), 883468k free (42.9%), 219056k freeable (10.6%)
Average network usage: 8 / 5 kbps in 1 minute, 7 / 3 kbps in 10 minutes, 7 / 2 kbps in 30 minutes
Average sessions: 11 sessions in 1 minute, 7 sessions in 10 minutes, 7 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
Virus caught: 0 total in 1 minute
IPS attacks blocked: 0 total in 1 minute
Uptime: 51 days, 23 hours, 38 minutes <-----
Also, use the below command to grep only uptime information:
aegon-kvm20 # get system performance status | grep -n Uptime
9:Uptime: 51 days, 23 hours, 40 minutes
Or:
get system performance status | grep Uptime
When running the above command on FortiGate 6000F, 7000E/F series, it will show the uptime multiple times, one for each working slot.
The following command will display the uptime and the serial number of each slot:
get sys performance status | grep "Uptime\|===\|SN"
The uptime can also be found in the Web GUI. Navigate to Dashboard -> Status, and review the 'System Information' widget.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.