12-12-2012 04:16 AM - edited 03-18-2019 12:17 AM
Hi All,
Is there a CLI command that displays the current license use of the VCS? in call, peak and maximum.
Thanks!
Solved! Go to Solution.
12-12-2012 05:05 AM
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
~ #
12-12-2012 04:56 AM
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
12-12-2012 05:01 AM
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" ?
12-12-2012 05:05 AM
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
~ #
12-12-2012 08:30 AM
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
12-13-2012 01:41 AM
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!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide