FortiGate
FortiGate Next Generation Firewall utilizes purpose-built security processors and threat intelligence security services from FortiGuard labs to deliver top-rated protection and high performance, including encrypted traffic.
nithincs
Staff
Staff
Article Id 197540
Description
This article provides command to find the uptime of the unit from last reboot.

Solution
To find uptime of FortiGate, use below command:
#get system perf status

aegon-kvm20 # get sys per 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 below command to grep only uptime information:
aegon-kvm20 # get sys per status | grep -n Uptime
9:Uptime: 51 days,  23 hours,  40 minutes

Contributors