You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sems/apps/monitoring/tools/sems-list-calls

8 lines
177 B

#!/usr/bin/python
# -*- coding: utf-8 -*-
from xmlrpclib import *
s = ServerProxy('http://localhost:8090')
print "Active calls: %d" % s.calls()
print s.di('monitoring','list')