cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1563
Views
5
Helpful
5
Replies

VCS CLI command for active use of licenses

pbzijerveld
Level 1
Level 1

Hi All,

Is there a CLI command that displays the current license use of the VCS? in call, peak and maximum.

Thanks!

1 Accepted Solution

Accepted Solutions

You can do

echo "xStatus ResourceUsage" | tsh

from the root prompt, which will yield the following output:

~ # echo "xStatus ResourceUsage" | tsh

Welcome to

TANDBERG VCS Release X7

SW Release Date: 2012-

OK

*s ResourceUsage:

     Calls:

       Traversal:

         Current: 0

         Max: 1

         Total: 2

       NonTraversal:

         Current: 0

         Max: 1

         Total: 2

     Registrations:

       Current: 0

       Max: 2

       Total: 3

*s/end

OK

~ #

View solution in original post

5 Replies 5

awinter2
Level 7
Level 7

Hi Pieter,

the 'xStatus ResourceUsage' command will give you this information (When run from an admin SSH session):

xStatus ResourceUsage

*s ResourceUsage:

     Calls:

       Traversal:

         Current: 0

         Max: 1

         Total: 2

       NonTraversal:

         Current: 0

         Max: 1

         Total: 2

     Registrations:

       Current: 0

       Max: 2

       Total: 3

*s/end

Thanks Andreas,

Is there a way to request this information from the root SSH session without using the tshell?

or is there a way to run the command like "tshell xStatus ResourceUsage" ?

You can do

echo "xStatus ResourceUsage" | tsh

from the root prompt, which will yield the following output:

~ # echo "xStatus ResourceUsage" | tsh

Welcome to

TANDBERG VCS Release X7

SW Release Date: 2012-

OK

*s ResourceUsage:

     Calls:

       Traversal:

         Current: 0

         Max: 1

         Total: 2

       NonTraversal:

         Current: 0

         Max: 1

         Total: 2

     Registrations:

       Current: 0

       Max: 2

       Total: 3

*s/end

OK

~ #

To be honest, I would recomend not to use root for such cases, as you want to keep the root access quite limted.

(the root user or a script that uses it can really damage the vcs).

The admin user and ssh is one way, the other is to create a new user with read access for the api and use a web script

to get the data out. Works great for us!

Please remember to rate helpful responses and identify

Hi Martin,

It's not my favourite either, but i have some Phython skills, so i thought it was a good beginning . I am looking at the cisco support site for API documentation, but cannot seem to find it. Are there specific doc's i can use?

Thanks!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: