mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 11:12:51 +01:00
Fix typo
This commit is contained in:
@@ -21,7 +21,7 @@ for i in $(/usr/sbin/so-elasticsearch-query _cat/allocation | awk '{print $2}');
|
|||||||
size=$(echo $i | grep -oE '[0-9].*' | awk '{print int($1+0.5)}')
|
size=$(echo $i | grep -oE '[0-9].*' | awk '{print int($1+0.5)}')
|
||||||
unit=$(echo $i | grep -oE '[A-Za-z]+')
|
unit=$(echo $i | grep -oE '[A-Za-z]+')
|
||||||
if [ $unit = "tb" ]; then
|
if [ $unit = "tb" ]; then
|
||||||
size=$(( size * 1000 * 1000 * 1000 * 1000<F12> ))
|
size=$(( size * 1000 * 1000 * 1000 * 1000 ))
|
||||||
elif [ $unit = "gb" ]; then
|
elif [ $unit = "gb" ]; then
|
||||||
size=$(( size * 1000 * 1000 * 1000 ))
|
size=$(( size * 1000 * 1000 * 1000 ))
|
||||||
elif [ $unit = "mb" ]; then
|
elif [ $unit = "mb" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user