gluster / gluster-health-report

Gluster Health Report Tool
GNU Lesser General Public License v3.0
23 stars 20 forks source link

process-status-report: Fix self-heal daemon CPU consumption reporting #20

Closed pdvian closed 6 years ago

pdvian commented 6 years ago

We seems to be using dummy volume test in shell script and also there will be multiple volumes on gluster node. There will be single self-heal daemon running on node, so need to check CPU consumption of localhost self-heal daemon.

Signed-off-by: Prashant D pdhange@redhat.com

pdvian commented 6 years ago

The process_status.sh script output on gluster node:

sh -x glusterhealth/reports/process_status.sh

Usage: ps [options]

Try 'ps --help <simple|list|output|threads|misc|all>' or 'ps --help <s|l|o|t|m|a>' for additional help text.

For more details see ps(1).

++ echo ' 80' ++ awk '{print ($1 > $2)}'

pdvian commented 6 years ago

The process_status.sh script output on gluster node with PR#20:

$ sh -x glusterhealth/reports/process_status.sh