diff options
author | Jens Axboe <axboe@suse.de> | 2005-09-08 20:15:18 +0200 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2005-09-08 20:15:18 +0200 |
commit | 152f6476e62fa4f754fb8d60fe86a254fa3675cb (patch) | |
tree | 8671c043540b6980c27c02840a35e3507a4756ff /README | |
parent | 6432fd983c61b4f2992daa8d8830ba6a181d7aa4 (diff) | |
download | blktrace-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-- | README | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -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 |