documentation: Installation prerequisites
[vswitchperf.git] / conf / 05_collector.conf
1 # Copyright 2015 Intel Corporation.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
6 #
7 #   http://www.apache.org/licenses/LICENSE-2.0
8 #
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 # ############################
16 # Collector configuration
17 # ############################
18
19 COLLECTOR = 'Pidstat'
20 COLLECTOR_DIR = os.path.join(ROOT_DIR, 'tools/collectors')
21
22 # processes to be monitored by pidstat
23 PIDSTAT_MONITOR = ['ovs-vswitchd', 'ovsdb-server', 'qemu-system-x86_64', 'vpp']
24
25 # options which will be passed to pidstat
26 PIDSTAT_OPTIONS = '-dur'
27
28 # sampling interval used by pidstat to collect statistics
29 PIDSTAT_SAMPLE_INTERVAL = 1
30
31 # prefix of pidstat's log file; separate log file is created
32 # for each testcase in the directory with results
33 LOG_FILE_PIDSTAT = 'pidstat'