Revision 8d04ac5e
b/lib/constants.py | ||
---|---|---|
2274 | 2274 |
BUILTIN_DATA_COLLECTOR_VERSION = _constants.BUILTIN_DATA_COLLECTOR_VERSION |
2275 | 2275 |
|
2276 | 2276 |
# The reason trail opcode parameter name |
2277 |
OPCODE_REASON = "reason"
|
|
2277 |
OPCODE_REASON = _constants.OPCODE_REASON
|
|
2278 | 2278 |
|
2279 | 2279 |
# The source reasons for the execution of an OpCode |
2280 | 2280 |
OPCODE_REASON_SRC_CLIENT = "gnt:client" |
... | ... | |
2291 | 2291 |
OPCODE_REASON_SRC_USER, |
2292 | 2292 |
]) |
2293 | 2293 |
|
2294 |
DISKSTATS_FILE = "/proc/diskstats"
|
|
2294 |
DISKSTATS_FILE = _constants.DISKSTATS_FILE
|
|
2295 | 2295 |
|
2296 | 2296 |
# CPU load collector variables |
2297 |
STAT_FILE = "/proc/stat"
|
|
2297 |
STAT_FILE = _constants.STAT_FILE
|
|
2298 | 2298 |
CPUAVGLOAD_BUFFER_SIZE = 150 |
2299 | 2299 |
CPUAVGLOAD_WINDOW_SIZE = 600 |
2300 | 2300 |
|
2301 | 2301 |
# Mond's variable for periodical data collection |
2302 |
MOND_TIME_INTERVAL = 5
|
|
2302 |
MOND_TIME_INTERVAL = _constants.MOND_TIME_INTERVAL
|
|
2303 | 2303 |
|
2304 | 2304 |
# Do not re-export imported modules |
2305 | 2305 |
del re, _vcsversion, _autoconf, _constants, socket, pathutils, compat |
Also available in: Unified diff