fincore - count pages of file contents in core
| Use Case | Command | Description |
|---|---|---|
| Check if file pages are in memory | fincore /path/to/file | đ Report resident pages for one or more files |
| Display sizes in bytes | fincore -b /path/to/file | đ Show SIZE column in bytes instead of human-readable |
| Output in JSON format | fincore -J /path/to/file | đ Get structured machine-readable output |
| Customize output columns | fincore -o +list /path/to/file | đ¯ Add or select specific columns (e.g., +PID, +MODE) |
| Hide header line | fincore -n /path/to/file | đ Suppress column headers for scripting |
fincore [options] file...
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.
Masatake YAMATO <yamato AT redhat.com>
mincore(2), getpagesize(2), getconf(1p)
For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.
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.37.2 (2021-06-02)
Generated by phpman v4.10.0-7-g98e9fd5 · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-09-03 16:15 @216.73.216.51
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)