Forum Discussion

Mohandoss_27648's avatar
Mohandoss_27648
Icon for Nimbostratus rankNimbostratus
Sep 15, 2016

APM Manage Session

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  
  • Lucas_Thompson_'s avatar
    Sep 15, 2016

    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.