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
6e14b33e
Commit
6e14b33e
authored
Jun 01, 2011
by
Konstantin Khlebnikov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add ioping(1) man page
Signed-off-by:
Kir Kolyshkin
<
kir@openvz.org
>
parent
852efe69
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
93 additions
and
0 deletions
+93
-0
Makefile
Makefile
+3
-0
ioping.1
ioping.1
+90
-0
No files found.
Makefile
View file @
6e14b33e
...
...
@@ -2,6 +2,7 @@ CFLAGS=-std=c99 -g -Wall -Wextra -pedantic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
LDFLAGS
=
PREFIX
=
/usr/local
BINDIR
=
$(PREFIX)
/bin
MAN1DIR
=
$(PREFIX)
/share/man/man1
all
:
ioping
...
...
@@ -11,6 +12,8 @@ clean:
install
:
ioping
mkdir
-p
$(DESTDIR)$(BINDIR)
install
-m
0755 ioping
$(DESTDIR)$(BINDIR)
mkdir
-p
$(DESTDIR)$(MAN1DIR)
install
-m
644 ioping.1
$(DESTDIR)$(MAN1DIR)
ioping.o
:
ioping.c
$(CC)
-c
-o
$@
$^
${CFLAGS}
...
...
ioping.1
0 → 100644
View file @
6e14b33e
.TH IOPING "1" "May 2011" "" "User Commands"
.SH NAME
ioping \- simple disk I/O latency monitoring tool
.SH SYNOPSYS
\fBioping\fR [\fB\-RCDhq\fR] [\fB\-c \fIcount\fR] [\fB\-w \fIdeadline\fR] \
[\fB\-p \fIperiod\fR] [\fB\-i \fIinterval\fR] [\fB\-s \fIsize\fR] \
[\fB\-S \fIwsize\fR] [\fB\-o \fIoffset\fR] \
\fIdevice\fR | \fIfile\fR | \fIdirectory\fR
.SH DESCRIPTION
This tool lets you monitor I/O latency in real time.
.SH OPTIONS
.TP
\fB\-c\fR \fIcount\fR
Stop after \fIcount\fR requests.
.TP
\fB\-w\fR \fIdeadline\fR
Stop after \fIdeadline\fR time passed.
.TP
\fB\-p\fR \fIperiod\fR
Print raw statistics for every \fIperiod\fR requests.
.TP
\fB\-i\fR \fIinterval\fR
Set time between requests to \fIinterval\fR.
.TP
\fB\-s\fR \fIsize\fR
Request size.
.TP
\fB\-S\fR \fIwsize\fR
Working set size.
.TP
\fB\-o\fR \fIoffset\fR
Offset in input file.
.TP
\fB\-R\fR
Use random offsets in the work set.
.TP
\fB\-C\fR
Use cached I/O.
.TP
\fB\-D\fR
Use direct I/O.
.TP
\fB\-h\fR
Display help message and exit.
.TP
\fB\-q\fR
Suppress human-readable output.
.SS Argument suffixes
For options that expect time argument (\fB\-i\fR and \fB-w\fR),
default is seconds, unless you specify one of the below suffixes:
.TP
\fBus\fR, \fBusec\fR
microseconds
.TP
\fBms\fR, \fBmsec\fR
milliseconds
.TP
\fBs\fR, \fBsec\fR
seconds
.TP
\fBm\fR, \fBmin\fR
minutes
.TP
\fBh\fR, \fBhour\fR
hours
.PP
For options that expect "size" argument (\fB-s\fR, \fB-S\fR and \fB-o\fR),
default is bytes, unless you specify one of the below suffixes:
.TP
\fBk\fR, \fBkb\fR
kilobytes
.TP
\fBp\fR
memory pages (page is always 4K).
.TP
\fBm\fR, \fBmb\fR
megabytes
.TP
\fBg\fR, \fBgb\fR
gigabytes
.SH EXIT STATUS
Returns 0 upon success.
.SH EXAMPLES
.TP
.B ioping .
Show disk I/O latency using the default values and the current directory,
until interrupted.
.TP
.B ioping -c 10 -s 1M /tmp
Measure latency on \fB/tmp\fR using 10 requests of 1 megabyte each.
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