Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nocache
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Danil Mikhailov
nocache
Commits
a30e207a
Commit
a30e207a
authored
Apr 29, 2013
by
Julius Plenz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update man pages to reflect "-n" option
parent
07728270
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
cachedel.1
man/cachedel.1
+6
-2
nocache.1
man/nocache.1
+7
-1
No files found.
man/cachedel.1
View file @
a30e207a
...
...
@@ -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.
man/nocache.1
View file @
a30e207a
...
...
@@ -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`
...
...
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