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 e7d7606ac11..8c216f76166 100644
--- a/tests/volume.rc
+++ b/tests/volume.rc
@@ -531,3 +531,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
+}
+