-o Output file. If not given, output is stdout.
-b stdin read batching.
-s Show per-program io statistics.
- -n Hash processes by name, not pid.
+ -h Hash processes by name, not pid.
-t Track individual ios. Will tell you the time a request took to
get queued, to get dispatched, and to get completed.
-q Quiet. Don't display any stats at the end of the trace.
static struct per_process_info *ppi_list;
static int ppi_list_entries;
-#define S_OPTS "a:A:i:o:b:stqw:f:F:vVnD:"
+#define S_OPTS "a:A:i:o:b:stqw:f:F:vVhD:"
static struct option l_opts[] = {
{
.name = "act-mask",
.name = "hash-by-name",
.has_arg = no_argument,
.flag = NULL,
- .val = 'n'
+ .val = 'h'
},
{
.name = "verbose",
"\t-q Quiet. Don't display any stats at the end of the trace\n" \
"\t-w Only parse data between the given time interval in seconds.\n" \
"\t If 'start' isn't given, blkparse defaults the start time to 0\n" \
- "\t -f Output format. Customize the output format. The format field\n" \
- "\t identifies can be found in the documentation\n" \
+ "\t-f Output format. Customize the output format. The format field\n" \
+ "\t identifies can be found in the documentation\n" \
"\t-F Format specification. Can be found in the documentation\n" \
"\t-v More verbose for marginal errors\n" \
"\t-V Print program version info\n\n";
if (add_format_spec(optarg) != 0)
return 1;
break;
- case 'n':
+ case 'h':
ppi_hash_by_pid = 0;
break;
case 'v':
case $c in
a) TRACEOPTS=$TRACEOPTS" -a "$OPTARG" ";;
w) TRACEOPTS=$TRACEOPTS" -w "$OPTARG" ";;
+ n) TRACEOPTS=$TRACEOPTS" -n "$OPTARG" ";;
+ b) TRACEOPTS=$TRACEOPTS" -b "$OPTARG" ";;
s) PARSEOPTS=$PARSEOPTS" -s";;
t) PARSEOPTS=$PARSEOPTS" -t";;
+ h) PARSEOPTS=$PARSEOPTS" -h";;
S) SUMMARIZE="";;
\?) echo $USAGE 1>&2
exit 2
-m & --missing & Print missing entries\\ \hline
--n & --hash-by-name & Hash processes by name, not by PID\\ \hline
+-h & --hash-by-name & Hash processes by name, not by PID\\ \hline
-o \emph{file} & --output=\emph{file} & Output file \\ \hline