diff options
| author | Anton Bobov <abobov@gmail.com> | 2020-02-19 22:57:02 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2020-02-19 22:57:02 +0500 |
| commit | d34161bbda6781a617705ee429776e53768c7b51 (patch) | |
| tree | 0336b1562c4e8791b5e9b7cadabdb5d3035dce65 /fio-cdm | |
| parent | d5c22685624a4c4e4ac039a5c23782245f95385b (diff) | |
Updates.
Diffstat (limited to 'fio-cdm')
| -rwxr-xr-x | fio-cdm | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -58,6 +58,11 @@ fio2cdm() { trap "rm -f ${TARGET}/.fio-diskmark" 0 1 2 3 9 15 +if [ -z "$TARGET" ] ; then + echo "First argument should be target directory." + exit 1 +fi + # see. http://www.winkey.jp/article.php/20110310142828679 cat <<_EOL_ | fio --output-format=terse - | fio2cdm [global] |
