--- /dev/null
+#!/usr/bin/awk -f
+
+#
+# expect lines consisting of inactivity time and manifested time
+# 512 564
+# 32 54
+#
+# discard irrelevant/error lines where manifested time is shorter than
+# inactivity time
+#
+
+{
+ # only print relevant
+ if ($2 > 0) {
+ if ($2 > $1)
+ print $1, $2;
+ if (($1-$2) / $1 < 0.10) {
+ print $1, $2;
+ }
+ }
+}