about summary refs log tree commit diff
path: root/db2/progs/db_printlog/count.awk
diff options
context:
space:
mode:
Diffstat (limited to 'db2/progs/db_printlog/count.awk')
-rw-r--r--db2/progs/db_printlog/count.awk9
1 files changed, 9 insertions, 0 deletions
diff --git a/db2/progs/db_printlog/count.awk b/db2/progs/db_printlog/count.awk
new file mode 100644
index 0000000000..a0b214a6ff
--- /dev/null
+++ b/db2/progs/db_printlog/count.awk
@@ -0,0 +1,9 @@
+# @(#)count.awk	10.1 (Sleepycat) 11/1/98
+#
+# Print out the number of log records for transactions that we
+# encountered.
+
+/^\[/{
+	if ($5 != 0)
+		print $5
+}