get : system session status
 
system session status
Use this command to display the number of active sessions on the FortiGate unit, or if virtual domain mode is enabled it returns the number of active sessions on the current VDOM. In both situations it will say ‘the current VDOM.
Syntax
get system session status
Example output
The total number of sessions for the current VDOM: 3100