API for 'show system statistics session' ?

Reply
L3 Networker

API for 'show system statistics session' ?

What is API for 'show system statistics session' ? I can't find with 'cli debug on'.

L4 Transporter

Re: API for 'show system statistics session' ?

Seems that the command is not exposed using the API. It'll be something like 

/api/?type=op&cmd=<show><system><statistics><session></session></statistics></system></show>

 

That returns an invalid response probably because the CLI command returns information in real time.

<response status="error"><msg><line>invalid client cli</line></msg></response>

 

In adittion you can get the same info from ">show session info"

/api/?type=op&cmd=<show><session><info></info></session></show>

 

Regards,

Gerardo.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!