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

Add option to display disk usage stats #17

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

Conversation

mroote
Copy link
Contributor

@mroote mroote commented Apr 22, 2017

I'm not sure if this is the best approach, but I think adding the ability to see current free space in the system would be a useful addition.

@davidscholberg
Copy link
Owner

Hey @mroote,

I think this functionality would be a great addition, but I'd like to see this use the text/template library like the iface module does. That way, you could specify {{.Status}} if you want the aggregate status (which should be the default to maintain backwards compatibility), or you could specify .AvailMB or {{.UsedGB/.TotalGB}} or whatever if you wanted to display the actual numbers.

Let me know what you think of this suggestions. Thanks!

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