aboutsummaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorJens Axboe <axboe@suse.de>2005-09-08 20:15:18 +0200
committerJens Axboe <axboe@suse.de>2005-09-08 20:15:18 +0200
commit152f6476e62fa4f754fb8d60fe86a254fa3675cb (patch)
tree8671c043540b6980c27c02840a35e3507a4756ff /README
parent6432fd983c61b4f2992daa8d8830ba6a181d7aa4 (diff)
downloadblktrace-152f6476e62fa4f754fb8d60fe86a254fa3675cb.tar.gz
[PATCH] blkparse: Add per-process stats and fix output
Add the option (-s) to display per-process read/write stats as well as the per-processor and total output. At the same time, fix the output so it's a single file instead of per-processor (doesn't make sense here) and put everything in the output file given with -o. If no output file is given, stdout is used.
Diffstat (limited to 'README')
-rw-r--r--README12
1 files changed, 7 insertions, 5 deletions
diff --git a/README b/README
index 49aad12..31dd29a 100644
--- a/README
+++ b/README
@@ -23,7 +23,7 @@ The snapshots include the full git object database as well.
Usage
-----
-% blktrace -d <dev> [-o <output> -a <trace> [-a <trace>]]
+% blktrace -d <dev> [-o <output> -a <trace> [-a <trace>] -k]
-a <trace> is one of: (use multiple -a options to get more)
READ
WRITE
@@ -35,16 +35,18 @@ Usage
COMPLETE
FS
PC
+ -k Kill a currently running trace.
--- run task to generate load to be traced ---
<SIGINT to kill>
--- Generates:
<output>_out.[0..ncpus] : Contains binary trace data
- % blkparse -i <input> [-o <output>]
+ % blkparse -i <input> [-o <output> -s]
--- Generates:
- <output>_log.[0..ncpus] : Contains formatted trace data, if
- output logging is added with the -o option.
- Merged formatted trace data to stdout
+ <output>.log : Contains formatted trace data, if
+ output logging is added with the -o option. Otherwise, the
+ output is sent to stdout. If the -s option is used, in
+ addition to per-CPU stats, per process stats are shown as well.
If you want to do live tracing, you can pipe the data between blktrace