Show last authors
1 = Access statistics and configuration =
2
3 When the Flexisip server is running, you can monitor it using:
4
5 {{code}}
6 /opt/belledonne-communications/bin/flexisip_cli.py CONFIG_GET module::Registrar/count-bind
7 {{/code}}
8
9 Note that the statistics all start with “count” prefix.
10
11 You can get the available configuration options and statistics using CONFIG_LIST command:
12
13 {{code}}
14 /opt/belledonne-communications/bin/flexisip_cli.py CONFIG_LIST all
15 {{/code}}
16
17 Also you can change the verbosity level dynamically:
18
19 {{code}}
20 /opt/belledonne-communications/bin/flexisip_cli.py CONFIG_SET 'global/log-level' 'debug'
21 {{/code}}
22
23 = Connection options =
24
25 By default, the flexisip_stats.py automatically find the pid of the flexisip process running using pidof.
26 If you are running multiple flexisips on the same computer, you can specify which one you can to connect to using either:
27
28 * -s / ~-~-socket : path to the socket, default is /tmp/flexisip-<pid>
29 * -p / ~-~-pid : the pid of the flexisip process to connect to
30 * -n / ~-~-name : to find the pid of a flexisip process that is not named flexisip