Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

health-report: Add gluster mem usage #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

spalai
Copy link

@spalai spalai commented Oct 3, 2017

Signed-off-by: Susant Palai [email protected]

Copy link
Member

@amarts amarts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good test to have here. Agreeing on a limit is good.

cmd = "cat /proc/`pgrep %s`/status | grep -i vmrss | awk '{print $2}'" % (i)
out = command_output(cmd)
ctx.ok("Glusterd ResMem in kB", memory=out.strip())

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I expect to have some suggestions on what is the ideal memory usage? Say anything below 1GB is in OK range. anything with >1GB -- 3GB is 'warn', and above '3GB' as notok?

# General Public License, version 3 or any later version (LGPLv3 or
# later), or the GNU General Public License, version 2 (GPLv2), in all
# cases as published by the Free Software Foundation.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like we don't need any headers. Can you check?

@amarts
Copy link
Member

amarts commented Mar 22, 2019

This looks like a good feature to have, can this be worked on?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants