Commit a30e207a authored by Julius Plenz's avatar Julius Plenz

Update man pages to reflect "-n" option

parent 07728270
......@@ -2,6 +2,10 @@
.SH NAME
cachedel \- drop pagecache for a file
.SH SYNOPSIS
cachedel \fBfile\fR
cachedel [-n <n>] \fBfile\fR
.SH OPTIONS
.TP
\fB\-n <n>\fR "Repeat system call"
Will call posix_fadvise(POSIX_FADV_DONTNEED) \fB<n>\fR in a row.
.SH DESCRIPTION
Call fadvise(DONTNEED) on file
Call posix_fadvise(POSIX_FADV_DONTNEED) on file.
......@@ -2,7 +2,13 @@
.SH NAME
nocache \- don't use Linux page cache on given command
.SH SYNOPSIS
nocache \fBcommand\fR [argument...]
nocache [-n <n>] \fBcommand\fR [argument...]
.SH OPTIONS
.TP
\fB\-n <n>\fR "Set number of fadvise calls"
Execute the `posix_fadvise` system call \fB<n>\fR times in a row.
Depending on your machine, this might give better results (use it if in
your tests `nocache` fails to eradicate pages from cache properly).
.SH DESCRIPTION
The `nocache` tool tries to minimize the effect an application has on
the Linux file system cache. This is done by intercepting the `open`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment