File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# Yet Another Bench Script by Mason Rowe
4- # Initial Oct 2019; Last update Nov 2023
4+ # Initial Oct 2019; Last update Jan 2024
55
66# Disclaimer: This project is a work in progress. Any errors or suggestions should be
77# relayed to me via the GitHub project page linked below.
1212# performance via fio. The script is designed to not require any dependencies
1313# - either compiled or installed - nor admin privileges to run.
1414
15- YABS_VERSION=" v2023-11-30 "
15+ YABS_VERSION=" v2024-01-01 "
1616
1717echo -e ' # ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #'
1818echo -e ' # Yet-Another-Bench-Script #'
@@ -533,7 +533,7 @@ elif [ -z "$SKIP_FIO" ]; then
533533 free_space=$( df -Th | grep -w $long | grep -i zfs | awk ' {print $5}' | head -c -2)
534534
535535 if [[ $size_b == ' T' ]]; then
536- free_space=$(( free_space * 1024 ))
536+ free_space=$( awk " BEGIN {print int( $ free_space * 1024)} " )
537537 size_b=' G'
538538 fi
539539
You can’t perform that action at this time.
0 commit comments