Bug 1734046 - Incorrect use of df -hk command
Summary: Incorrect use of df -hk command
Keywords:
Status: NEW
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: doc-Container_Native_Storage_with_OpenShift
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: storage-doc
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-29 14:04 UTC by DzungDo
Modified: 2019-09-02 10:11 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)

Description DzungDo 2019-07-29 14:04:34 UTC
Description of problem:

https://access.redhat.com/documentation/en-us/red_hat_openshift_container_storage/3.11/html-single/deployment_guide/index

Command used in documentation:
# df -kh | grep -v ^Filesystem | awk '{if($5>"90%") print $0}'

This command will give all values of anything 90%+ or 9%+

Suggestion:

Change syntax to:
# df -kh | grep -v ^Filesystem | awk '{if(int($5)>90) print $0}'


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


Note You need to log in before you can comment on or make changes to this bug.