cancel
Showing results for 
Search instead for 
Did you mean: 

APM Manage Session

Mohandoss_27648
Nimbostratus
Nimbostratus

I want to monitor active session count, status, session ID, Bytes In and Bytes Out of APM Session through CLI command. Can anyone tell me the command

 

1 ACCEPTED SOLUTION

Lucas_Thompson_
Historic F5 Account

Current user counts:

 

tmsh show apm license

the "result" code of all sessions (it's basically "status"), bytes, sessionID:

 

[root@current-2:Active:Standalone] config **sessiondump --allkeys | grep -E 'session.policy.result |bytes'** 3fc31319.session.policy.result 5 allow 3fc31319.session.stats.bytes.in 4 8193 3fc31319.session.stats.bytes.out 4 3003

Don't run this command often in production, it's expensive.

 

View solution in original post

3 REPLIES 3

Lucas_Thompson_
Historic F5 Account

Current user counts:

 

tmsh show apm license

the "result" code of all sessions (it's basically "status"), bytes, sessionID:

 

[root@current-2:Active:Standalone] config **sessiondump --allkeys | grep -E 'session.policy.result |bytes'** 3fc31319.session.policy.result 5 allow 3fc31319.session.stats.bytes.in 4 8193 3fc31319.session.stats.bytes.out 4 3003

Don't run this command often in production, it's expensive.

 

Hi thanks for your answer..

 

My exact question is how to get the individual session information like client IP, Logon Name, Access Status, Start time, Expiration time etc.. related with APM session. For your reference find the below screenshot that was i noted from F5.

 

0691T000006Aq0AQAS.jpg

 

In the above image you can see the session information will be available in CLI not in SNMP. Will you share any commands to get those information from F5 APM. Thanks in advance....

 

I use this command to get the active session count. You can grep for more. tmsh show apm access-info | grep returned