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
9ea24462
Commit
9ea24462
authored
Aug 18, 2011
by
Konstantin Khlebnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ioping: extended raw statistics
Signed-off-by:
Konstantin Khlebnikov
<
koct9i@gmail.com
>
parent
f11967da
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
ioping.1
ioping.1
+24
-0
ioping.c
ioping.c
+4
-1
No files found.
ioping.1
View file @
9ea24462
...
...
@@ -134,6 +134,30 @@ Error during preparation stage.
.TP
.B 3
Error during runtime.
.SH RAW STATISTICS
.B ioping -p 100 -c 200 -i 0 -q .
.YS
100 26694 3746 15344272 188 267 1923 228
.YS
100 24165 4138 16950134 190 242 2348 214
.YS
(1) (2) (3) (4) (5) (6) (7) (8)
.TP
(1) numer of requests
.YS
(2) serving time (usec)
.YS
(3) requests per second (iops)
.YS
(4) transfer speed (bytes/sec)
.YS
(5) minimal request time (usec)
.YS
(6) average request time (usec)
.YS
(7) maximum request time (usec)
.YS
(8) request time standard deviation (usec)
.SH EXAMPLES
.TP
.B ioping .
...
...
ioping.c
View file @
9ea24462
...
...
@@ -672,7 +672,10 @@ int main (int argc, char **argv)
part_avg
=
part_sum
/
period
;
part_mdev
=
sqrt
(
part_sum2
/
period
-
part_avg
*
part_avg
);
printf
(
"%lld %.0f %lld %.0f
\n
"
,
printf
(
"%d %.0f %.0f %.0f %lld %.0f %lld %.0f
\n
"
,
period
,
part_sum
,
1000000
.
*
period
/
part_sum
,
1000000
.
*
period
*
size
/
part_sum
,
part_min
,
part_avg
,
part_max
,
part_mdev
);
...
...
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