FIX: replaced pgrep -c with a different construct because -c is not available on older systems
FIX: replaced pgrep -c with a different construct because -c is not available on older systems

orpiske/msg-perf-tool,orpiske/msg-perf-tool,orpiske/msg-perf-tool