Bug 1734046 - Incorrect use of df -hk command
Summary: Incorrect use of df -hk command
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: doc-Container_Native_Storage_with_OpenShift
Version: ocs-3.11
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: OCS 3.11.z Async
Assignee: Agil Antony
QA Contact: Sayalee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-07-29 14:04 UTC by DzungDo
Modified: 2021-01-05 06:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-05 06:50:49 UTC
Embargoed:


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.