- 01 Jun, 2011 5 commits
-
-
Konstantin Khlebnikov authored
'ioping -w 7 -i 2' was taking 8 seconds to run, not 7 or less. Fix it by moving the check to before usleep(), and taking the interval (ie usleep argument) into account. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
-
Konstantin Khlebnikov authored
This commit addresses two similar (but distinct) bugs. (1) 'ioping -c' was needlessly sleeping after the last iteration (and before showing final stats). Fix it by moving the check to before the usleep(), not after. (2) 'ioping -w' was going over the time limit specified. For example, 'ioping -w 7 -i 2' was taking 8 seconds to run, not 7 or less. Fix it by moving the check to before usleep(), and taking the interval (ie usleep argument) into account. Signed-off-by: Kir Kolyshkin <kir@openvz.org>
-
Konstantin Khlebnikov authored
err(1, NULL) prints program name and errno string, which is just what we need in this case. Signed-off-by: Kir Kolyshkin <kir@openvz.org> * free temp path string
-
Konstantin Khlebnikov authored
getopt() already emits warning about unknown option, so if we do that, too, the result will look like this: $ ./ioping -z ./ioping: invalid option -- 'z' ioping: unknown option: -z Don't warn about unknown option, instead show usage(). Signed-off-by: Kir Kolyshkin <kir@openvz.org>
-
Konstantin Khlebnikov authored
Needed mostly for distro vendors (.spec writers etc.) * Makefile: do not strip when installing Otherwise distros could not produce debuginfo packages * Makefile: add BINDIR Signed-off-by: Kir Kolyshkin <kir@openvz.org>
-
- 31 May, 2011 1 commit
-
-
Konstantin Khlebnikov authored
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
-
- 30 May, 2011 2 commits
-
-
Konstantin Khlebnikov authored
-
Konstantin Khlebnikov authored
-
- 29 May, 2011 2 commits
-
-
Konstantin Khlebnikov authored
-
Konstantin Khlebnikov authored
-