Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
ioping
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ioping
Commits
27de1158
Commit
27de1158
authored
Oct 29, 2016
by
Konstantin Khlebnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ioping: print total requests count in raw statistics
Signed-off-by:
Konstantin Khlebnikov
<
koct9i@gmail.com
>
parent
22adbbe3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
14 deletions
+14
-14
ioping.1
ioping.1
+4
-4
ioping.c
ioping.c
+10
-10
No files found.
ioping.1
View file @
27de1158
...
...
@@ -183,15 +183,15 @@ Error during runtime.
.B ioping -p 100 -c 200 -i 0 -q .
.ad l
.br
\f(CW100 26694 3746 15344272 188 267 1923 228 0 26694
\f(CW100 26694 3746 15344272 188 267 1923 228
10
0 26694
.br
100 24165 4138 16950134 190 242 2348 214 0 24165
100 24165 4138 16950134 190 242 2348 214
10
0 24165
.br
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10)
.br
.br
(1) count of requests
(1) count of requests
in statistics
.br
(2) running time (usec)
.br
...
...
@@ -207,7 +207,7 @@ Error during runtime.
.br
(8) request time standard deviation (usec)
.br
(9)
count of cache hits (see option -
t)
(9)
total requests (including too slow and too fas
t)
.br
(10) total running time (usec)
.SH EXAMPLES
...
...
ioping.c
View file @
27de1158
...
...
@@ -1376,7 +1376,7 @@ skip_preparation:
part_valid
*
size
/
part_sum
,
part_min
,
part_avg
,
part_max
,
part_mdev
,
(
unsigned
long
)
(
part_request
-
part_valid
)
,
(
unsigned
long
)
part_request
,
(
unsigned
long
)(
time_now
-
part_start
));
part_min
=
LLONG_MAX
;
...
...
@@ -1447,7 +1447,7 @@ skip_preparation:
total_valid
*
size
/
time_sum
,
time_min
,
time_avg
,
time_max
,
time_mdev
,
(
unsigned
long
)
(
request
-
total_valid
)
,
(
unsigned
long
)
request
,
(
unsigned
long
)
time_total
);
}
else
if
(
!
quiet
||
(
!
period_time
&&
!
period_request
))
{
printf
(
"
\n
--- %s (%s %s"
,
path
,
fstype
,
device
);
...
...
@@ -1458,14 +1458,6 @@ skip_preparation:
printf
(
" requests completed in "
);
print_time
(
time_sum
);
printf
(
", "
);
if
(
too_fast
)
{
print_int
(
too_fast
);
printf
(
" too fast, "
);
}
if
(
too_slow
)
{
print_int
(
too_slow
);
printf
(
" too slow, "
);
}
print_size
((
long
long
)
total_valid
*
size
);
printf
(
" %s, "
,
write_read_test
?
"transferred"
:
write_test
?
"written"
:
"read"
);
...
...
@@ -1474,6 +1466,14 @@ skip_preparation:
print_size
(
1
.
*
NSEC_PER_SEC
*
total_valid
*
size
/
time_sum
);
printf
(
"/s
\n
"
);
if
(
too_fast
)
{
print_int
(
too_fast
);
printf
(
" too fast, "
);
}
if
(
too_slow
)
{
print_int
(
too_slow
);
printf
(
" too slow, "
);
}
printf
(
"total "
);
print_int
(
request
);
printf
(
" requests in "
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment