Linux command
fincore 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Example
fincore [path/to/file]
Example
fincore --output-all [path/to/file]
Example
fincore [-h|--help]
说明
fincore displays how much of a file is currently cached in memory by the kernel's page cache. It shows the number of pages and bytes cached. Useful for understanding memory usage and cache behavior.
参数
- -n, --noheadings
- Do not print a header line.
- -b, --bytes
- Print sizes in bytes (not human-readable units).
- -c, --total
- Print a grand total of results.
- -o, --output _list_
- Specify output columns (use _+list_ to extend defaults).
- --output-all
- Show all available columns.
- -r, --raw
- Produce output in raw format.
- -J, --json
- Use JSON output format.
- -R, --recursive
- Recurse into directories.
- -h, --help
- Display help.
- -V, --version
- Print version.
FAQ
What is the fincore command used for?
fincore displays how much of a file is currently cached in memory by the kernel's page cache. It shows the number of pages and bytes cached. Useful for understanding memory usage and cache behavior.
How do I run a basic fincore example?
Run `fincore [path/to/file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -n, --noheadings do in fincore?
Do not print a header line.