# FINCORE - count pages of file contents in core - man - [phpMan]

> **TLDR:** Display how much cache memory a file is taking.
>
- Display cache details for a file:
  `fincore {{path/to/file}}`
- Display all possible data columns:
  `fincore --output-all {{path/to/file}}`
- Display help:
  `fincore {{-h|--help}}`

*Source: tldr-pages*

---

[_FINCORE_(1)](https://www.chedong.com/phpMan.php/man/FINCORE/1/markdown)                                  User Commands                                 [_FINCORE_(1)](https://www.chedong.com/phpMan.php/man/FINCORE/1/markdown)

## NAME
       fincore - count pages of file contents in core

## SYNOPSIS
       **fincore **[options] _file_...

## DESCRIPTION
       **fincore **counts pages of file contents being resident in memory (in core), and reports the
       numbers. If an error occurs during counting, then an error message is printed to the stderr
       and **fincore **continues processing the rest of files listed in a command line.

       The default output is subject to change. So whenever possible, you should avoid using default
       outputs in your scripts. Always explicitly define expected columns by using **--output**
       _columns-list_ in environments where a stable output is required.

## OPTIONS
### -n --noheadings
           Do not print a header line in status output.

### -b --bytes
           Print the sizes in bytes rather than in a human-readable format.

           By default, the unit, sizes are expressed in, is byte, and unit prefixes are in power of
           2^10 (1024). Abbreviations of symbols are exhibited truncated in order to reach a better
           readability, by exhibiting alone the first letter of them; examples: "1 KiB" and "1 MiB"
           are respectively exhibited as "1 K" and "1 M", then omitting on purpose the mention "iB",
           which is part of these abbreviations.

### -o --output _
           Define output columns. See the **--help **output to get a list of the currently supported
           columns. The default list of columns may be extended if _list_ is specified in the format
           _+list_.

### -r --raw
           Produce output in raw format. All potentially unsafe characters are hex-escaped
           (\x<code>).

### -J --json
           Use JSON output format.

### -h --help
           Display help text and exit.

### -V --version
           Print version and exit.

## AUTHORS
       Masatake YAMATO <<yamato@redhat.com>>

## SEE ALSO
       [**mincore**(2)](https://www.chedong.com/phpMan.php/man/mincore/2/markdown), [**getpagesize**(2)](https://www.chedong.com/phpMan.php/man/getpagesize/2/markdown), [**getconf**(1p)](https://www.chedong.com/phpMan.php/man/getconf/1p/markdown)

## REPORTING BUGS
       For bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>.

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

util-linux 2.39.3                            2023-12-01                                   [_FINCORE_(1)](https://www.chedong.com/phpMan.php/man/FINCORE/1/markdown)
