summaryrefslogtreecommitdiffstats
path: root/tests/volume.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/volume.rc')
-rw-r--r--tests/volume.rc9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/volume.rc b/tests/volume.rc
index 5ba637dee54..b71fea4d503 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -524,3 +524,12 @@ else
echo "1"
fi
}
+
+function get_bitd_count {
+ ps auxw | grep glusterfs | grep bitd.pid | grep -v grep | wc -l
+}
+
+function get_scrubd_count {
+ ps auxw | grep glusterfs | grep scrub.pid | grep -v grep | wc -l
+}
+