From faf64a10d51ca7e808cdaf74cba8c31e1d61d6d6 Mon Sep 17 00:00:00 2001 From: yvesf Date: Sun, 4 Sep 2011 17:59:46 +0200 Subject: system iodelay (nur mit usbstick getestet) --- systemtap/ioblock_delay/device.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 systemtap/ioblock_delay/device.sh (limited to 'systemtap/ioblock_delay/device.sh') diff --git a/systemtap/ioblock_delay/device.sh b/systemtap/ioblock_delay/device.sh new file mode 100755 index 0000000..1bb5ba3 --- /dev/null +++ b/systemtap/ioblock_delay/device.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +test -e "/dev/$1" || { echo "USAGE: $0 "; exit 1; } + +stap -c "dd if=\"/dev/$1\" of=/dev/null bs=1M" device.stp "$1" -- cgit v1.2.1