diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2013-07-12 11:37:27 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2013-07-12 11:40:50 +0200 |
commit | dd123b0fb6af4909aa30940a8dc34661e8b1c420 (patch) | |
tree | 9340b3338f5851572665dadbdabe6066f9f6410d /ifpps.8 | |
parent | affa51801095f861aa4d86b67097f1616f653492 (diff) |
ifpps: Consistently list command line options
Instead of (more or less) arbitrarily listing the command line options,
sort them according to the following rule:
- options with required argument, alphabetically by short option
- options without argument, alphabetically by short option
- common options -v/--version and -h/--help
Do this in the short options string, the long options struct, the
in-program usage and the man page.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'ifpps.8')
-rw-r--r-- | ifpps.8 | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -52,15 +52,12 @@ facilitates creation of gnuplot figures from ifpps time series. .SS -d <netdev>, --dev <netdev> Networking device to fetch statistics from, for example eth0, wlan0. .PP -.SS -t <time>, --interval <time> -Statistics refresh interval in milliseconds, default is 1000ms. -.PP .SS -n, --num-cpus Set maximum number of top hitter CPUs (in terms of time spent in system/user mode) to display in ncurses mode, default is 10. .PP -.SS -p, --promisc -Turn on promiscuous mode for the given networking device. +.SS -t <time>, --interval <time> +Statistics refresh interval in milliseconds, default is 1000ms. .PP .SS -c, --csv Output (once) the ncurses data to the terminal as gnuplot(1)-ready data. @@ -75,6 +72,9 @@ processed later with gnuplot(1). Show median values across all CPUs for CPU load, interrupts (per interval and absolute) and software interrupts. .PP +.SS -p, --promisc +Turn on promiscuous mode for the given networking device. +.PP .SS -W, --no-warn Suppress possible warnings in the ncurses output, e.g. about a too low sampling interval that could cause performance regression. |