Whamcloud - gitweb
LU-17871 ldlm: FLOCK ownlocks may be not set
[fs/lustre-release.git] / lustre-iokit / stats-collect / iokit-config
1 # SPDX-License-Identifier: GPL-2.0
2
3 #
4 # This file is part of Lustre, http://www.lustre.org/
5 #
6
7 #
8 # system configuration.  Set these variables to point to the locations
9 # of various system utilities.
10 #
11 AWK=/usr/bin/awk
12 XARGS=/usr/bin/xargs
13
14 #
15 # control debug output.  set PRINT_INFO_MSGS=1 to see additional messages
16 #   set PRINT_DEBUG_MSGS=1 to see debug messages
17 #
18 PRINT_INFO_MSGS=0
19 PRINT_DEBUG_MSGS=0
20
21 #
22 # TARGETS: set this variable to the list of nodes you want to
23 # gather stats from
24 #
25 # Example:
26 #
27 PERCH_MDS_LIST="nid00135"
28 PERCH_OST_LIST="nid00128 nid00131 nid00136 nid00139 nid00008 nid00011 nid00012"
29
30 MDS_LIST=${PERCH_MDS_LIST}
31 OST_LIST=${PERCH_OST_LIST}
32 export TARGETS="${MDS_LIST} ${OST_LIST}"
33
34 #script var
35 #case $TARGET in
36 #       oss*)
37 #               VMSTAT_INTERVAL=0
38 #               SERVICE_INTERVAL=2
39 #               SDIO_INTERVAL=0
40 #       ;;
41 #       client*)  ALEX_SCRIPT_CLIENT_VAR1="hello!"
42 #       ;;
43 #esac
44
45 #FIXME: diff these parameters according to client/MDS/OSS
46 VMSTAT_INTERVAL=${VMSTAT_INTERVAL:-1}
47 SERVICE_INTERVAL=${SERVICE_INTERVAL:-0}
48 SDIO_INTERVAL=${SDIO_INTERVAL:-0}
49 BRW_INTERVAL=${BRW_INTERVAL:-0}
50 MBALLOC_INTERVAL=${MBALLOC_INTERVAL:-0}
51 IO_INTERVAL=${IO_INTERVAL:-1}
52 JBD_INTERVAL=${JBD_INTERVAL:-1}
53
54 #some environment var
55 TMP=${TMP:-"/tmp"}
56 SCRIPT=${SCRIPT:-"iokit-lstats"}
57 #Remote ssh script
58 DSH=${DSH:-ssh}
59 DCP=${DCP:-scp}
60 USER=""
61 TAR=${TAR:-tar -zcvf}
62