From 865ceea63cf8f1c070eb88e473908728cb241a6c Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Tue, 21 Oct 2014 15:17:47 +0100 Subject: fix --- mdstat | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 mdstat (limited to 'mdstat') diff --git a/mdstat b/mdstat new file mode 100755 index 0000000..fc86d3a --- /dev/null +++ b/mdstat @@ -0,0 +1,6 @@ +#!/bin/zsh + +S=$(awk '/^md/ {printf "%s: ", $1}; /blocks/ {print $NF}'