In this example there are 185 active sesssions, some of them are using Edge client/network access (so consuming license) but others are using activesync access (not consuming license).
I Cant find a way to make the difference between currently active sessions and currently consumed licenses.
root@(f5-xxxx)(cfg-sync In Sync)(Active)(/Common)(tmos) show apm profile current-module
total sessions: 83.8K
total established sessions: 65.6K
current active sessions: 185
current pending sessions: 0
current established sessions: 185
In this example there are 185 active sesssions, some of them are using Edge client/network access (so consuming license) but others are using activesync access (not consuming license).
I Cant find a way to make the difference between currently active sessions and currently consumed licenses.
root@(f5-xxxx)(cfg-sync In Sync)(Active)(/Common)(tmos) show apm profile current-module
total sessions: 83.8K
total established sessions: 65.6K
current active sessions: 185
current pending sessions: 0
current established sessions: 185
You may already have found how to get those values in APM VPE (at least in sw 12.1.2). In VPE, use “License” box from Endpoint Security (Server -Side) tab. Then check the branch rules in advanced mode, to see the commands used to retrieve global and access profile specific max and current values.
You can use variable assign to have them available for later use. The values are retrieved using mcget, for example global ones (CCU used for connectivity license here):
Current global CCU:mcget -license {tmm.license.global_connectivity}
Max global CCU:mcget -license {tmm.license.global_connectivity}
Current global access sessions: [mcget -license {tmm.license.global_access}
Max global access sessions: mcget -license {tmm.license.global_access}
Similarly profile specific concurrent user count is: mcget -license “tmm.profilelicense.[mcget {session.access.profile}]”