This commit is contained in:
Brendan Gregg
2014-07-22 00:23:03 -07:00
parent d3ca7cbe05
commit 1f1bf8b3b2
2 changed files with 2 additions and 1 deletions

View File

@@ -192,6 +192,7 @@ while (( !opt_count || (i < count) )); do
echo > trace
fi
# mawk lacks strftime(), so do this in bash
(( opt_timestamp )) && printf "time %(%H:%M:%S)T:\n" -1
echo "tick"
done | \

View File

@@ -16,7 +16,7 @@
# OVERHEAD: By default, iosnoop works without buffering, printing I/O events
# as they happen (uses trace_pipe), context switching and consuming CPU to do
# so. This has a limit of about 10,000 IOPS (depending on your platform), at
# which point iosnoop will be consuming 1 CPU. The "-d secs" mode uses buffering,
# which point iosnoop will be consuming 1 CPU. The duration mode uses buffering,
# and can handle much higher IOPS rates, however, the buffer has a limit of
# about 50,000 I/O, after which events will be dropped. You can tune this with
# bufsize_kb, which is per-CPU. Also note that the "-n" option is currently