From 1775e06be69a946feec4a4d1049648c381dc2e72 Mon Sep 17 00:00:00 2001 From: Andrew Price Date: Sun, 27 Apr 2014 03:32:17 +0100 Subject: [PATCH] iowatcher: Update usage info and improve man page Bring the man page and usage string up-to-date with the new -p behaviour and improve the formatting and content of the man page. Signed-off-by: Andrew Price --- iowatcher/iowatcher.1 | 134 +++++++++++++++++++++++++++--------------- iowatcher/main.c | 2 +- 2 files changed, 86 insertions(+), 50 deletions(-) diff --git a/iowatcher/iowatcher.1 b/iowatcher/iowatcher.1 index d9b77b8..3044abf 100644 --- a/iowatcher/iowatcher.1 +++ b/iowatcher/iowatcher.1 @@ -1,4 +1,4 @@ -.TH iowatcher 1 +.TH iowatcher "1" "April 2014" "iowatcher" "User Commands" .SH NAME iowatcher - Create visualizations from blktrace results @@ -15,17 +15,17 @@ iowatcher graphs the results of a blktrace run. It can graph the result of an e \fB--help\fP Print a brief usage summary. .TP -\fB-d, --device\fP +\fB-d, --device\fP \fIdevice\fP Controls which device you are tracing. You can only trace one device at a time for now. It is sent directly to blktrace, and only needed when you are making a new trace. .TP -\fB-D, --blktrace-destination\fP +\fB-D, --blktrace-destination\fP \fIdestination\fP Destination for blktrace. .TP \fB-p, --prog\fP Run a program while blktrace is run. The program and its arguments must be specified after all other options. Note that this option previously required -the program to be given as a single argument but it now flags that iowatcher -should expect extra arguments to be run during the trace. +the program to be given as a single argument but it now tells \fBiowatcher\fP +to expect extra arguments which it should be run during the trace. .TP \fB--\fP End option parsing. If \fB--prog\fP is specified, everything after \fB--\fP is @@ -35,92 +35,128 @@ be mistaken for an option. \fB-K, --keep-movie-svgs\fP Keep the SVG files generated for movie mode. .TP -\fB-t, --trace\fP -Controls the name of the blktrace file. iowatcher uses a dump from blkparse, so -t tries to guess the name of the corresponding per CPU blktrace data files if the dump file doesn't already exist. -If you want more than one trace in a given graph, you can specify -t more than once. -If a directory is specified, iowatcher will use the name of the directory as the base name of the dump file and all trace files found inside the directory will be processed. -.TP -\fB-l, --label\fP