from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites:gentoo.linuxhowtos.org



Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

209586

userrating:


May 25th. 2007:
Words

486

Views

258592

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

149883

userrating:


April, 26th. 2006:

Druckversion
You are here: manpages





FADVISE

Section: User Commands (1)
Updated: 202-1-15
Index Return to Main Contents
 

NAME

fadvise - utility to use the posix_fadvise system call  

SYNOPSIS

fadvise [-a advice] [-o offset] [-l length] filename

fadvise [-a advice] [-o offset] [-l length] -d file-descriptor  

DESCRIPTION

fadvise is a simple command wrapping posix_fadvise(2) system call that is for predeclaring an access pattern for file data.  

OPTIONS

-d, --fd file-descriptor

Apply the advice to the file specified with the file descriptor instead of open a file specified with a file name.

-a, --advice advice

See the command output with --help option for available values for advice. If this option is omitted, "dontneed" is used as default advice.

-o, --offset offset

Specifies the beginning offset of the range, in bytes. If this option is omitted, 0 is used as default advice.

-l, --length length

Specifies the length of the range, in bytes. If this option is omitted, 0 is used as default advice.

-h, --help

Display help text and exit.

-V, --version

Display version and exit.
 

EXIT STATUS

fadvise has the following exit status values:

0

success

1

unspecified failure
 

AUTHORS

 

SEE ALSO

posix_fadvise(2)  

REPORTING BUGS

For bug reports, use the https://github.com/uti-linux/uti-linux/issues <L>issue tracker  

AVAILABILITY

The fadvise command is part of the util-linux package which can be downloaded from https://www.kernel.org/pub/linux/utils/uti-linux/ <L>Linux Kernel Archive


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXIT STATUS
AUTHORS
SEE ALSO
REPORTING BUGS
AVAILABILITY





Support us on Content Nation
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 20.6 ms