Forum Discussion
Yann_Desmarest
Mar 24, 2016Cirrus
Hello,
You can show active sessions using the following script :
for i in $(sessiondump -list | cut -f1 -d\ ); do sessiondump -delete $i; done
You should have a look at the sessiondump command to see if you can kill an active session.
- Nikolay_MatveevMar 24, 2016NimbostratusThank you Yann. I understand you refer to CLI which is not exactly what I asked about. I need to be able to obtain list of current sessions and terminate one of them using an API call (ideally using a REST API) from an external application (not on the BigIP itself). Is this possible?
- Yann_DesmarestMar 24, 2016CirrusUnfortunately, I think this is currently not available out of the box. But you may launch bash scripts from the rest api instead
- Nikolay_MatveevMar 24, 2016NimbostratusHmm... that's not very good... If a script is invoked via the REST API can its console output be returned as a result of that API call?