koct9i / ioping

simple disk I/0 latency measuring tool
GNU General Public License v3.0
947 stars 76 forks source link

0.6: -W throws usage error #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile ioping 0.6
2. run it with -W

What is the expected output? What do you see instead?

Expect it to not throw a usage() error. It does.

Maybe I'm using it wrong? No examples could be found with -W.

What version of the product are you using? On what operating system?

Linux

Please provide any additional information below.

# ioping -WWWL /testfile
ioping: invalid option -- 'W'
 Usage: ioping [-LCDRq] [-c count] [-w deadline] [-p period] [-i interval]
               [-s size] [-S wsize] [-o offset] device|file|directory
        ioping -h | -v

      -c <count>      stop after <count> requests
      -w <deadline>   stop after <deadline>
      -p <period>     print raw statistics for every <period> requests
      -i <interval>   interval between requests (1s)
      -s <size>       request size (4k)
      -S <wsize>      working set size (1m)
      -o <offset>     in file offset
      -L              use sequential operations (includes -s 256k)
      -C              use cached I/O
      -D              use direct I/O
      -R              seek rate test (same as -q -i 0 -w 3 -S 64m)
      -q              suppress human-readable output
      -h              display this message and exit
      -v              display version and exit

# ioping -v
ioping 0.6

Original issue reported on code.google.com by cjbla...@gmail.com on 1 Apr 2013 at 4:16

GoogleCodeExporter commented 9 years ago
I think this feature was added after 0.6. Please try version from git.

Original comment by koct9i on 1 Apr 2013 at 4:43

GoogleCodeExporter commented 9 years ago
Try v0.7

Original comment by koct9i on 9 Jul 2013 at 10:49

GoogleCodeExporter commented 9 years ago

Original comment by koct9i on 9 Jul 2013 at 11:04