summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/UNIT/eventscripts/05.system.monitor.011.sh
blob: 6cd1dabbb3724237912acfe271db1d66e825019a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

. "${TEST_SCRIPTS_DIR}/unit.sh"

define_test "Memory check (default), warning situation"

setup

set_mem_usage 100 100
ok <<EOF
WARNING: System memory utilization 100% >= threshold 80%
EOF
simple_test