Skip to content
Snippets Groups Projects
Commit 0781b1d6 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

ceph_io: 2letter unit in performance data

parent f37faa8b
Branches
Tags
1 merge request!78ceph_io: 2letter unit in performance data
...@@ -67,8 +67,8 @@ if [ -z "${CEPHIO}" ]; then ...@@ -67,8 +67,8 @@ if [ -z "${CEPHIO}" ]; then
echo "No ceph here or no sudo permissions on ceph command?" echo "No ceph here or no sudo permissions on ceph command?"
else else
IO_READ=$( echo ${CEPHIO} | cut -f 1,2 -d " " | sed -E "s#([0-9]*) (.).*#\1\2#g") IO_READ=$( echo ${CEPHIO} | cut -f 1,2 -d " " | sed -E "s#([0-9]*) (.).(.).*#\1\2\3#g")
IO_WRITE=$( echo ${CEPHIO} | cut -f 4,5 -d " " | sed -E "s#([0-9]*) (.).*#\1\2#g") IO_WRITE=$( echo ${CEPHIO} | cut -f 4,5 -d " " | sed -E "s#([0-9]*) (.).(.).*#\1\2\3#g")
ph.status "$CEPHIO" ph.status "$CEPHIO"
# echo "read: $IO_READ" # echo "read: $IO_READ"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment