FINCORE(1) Anvandarkommandon FINCORE(1) NAMN fincore - rakna sidor med filinnehall i karnan SYNOPSIS fincore [flaggor] fil... BESKRIVNING 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. fincore uses the cachestat(2) syscall to count resident pages. If the cachestat(2) syscall is not available and cachestat usage is not forced with the --cachestat option, then fincore uses the mincore(2) syscall as a fallback. The cachestat(2) syscall is more efficient than mincore because it does not require a page table lock to walks page tables, and also reports more information than mincore, like the number of cached pages, dirty pages, pages marked for writeback, evicted pages, and recently evicted pages. Another difference between the two syscalls is that if write permissions are not granted to the file, then cachestat(2) returns an error, while mincore(2) for security reasons, returns fake data as if all pages were resident in memory (c.f.r. kernel commit "make mincore() more conservative" ). Standardutdata kan komma att andras. Sa nar det ar mojligt bor du undvika att anvanda standardutdata i dina skript. Definiera alltid uttryckligen forvantade kolumner genom att anvanda --output columns-list i miljoer dar en stabil utdata kravs. FLAGGOR -n, --noheadings Skriv inte ut en rubrikrad i statusutmatningen. -b, --bytes Print sizes in bytes rather than in human-readable form. By default, sizes are shown in units that are powers of 1024 bytes. The formal abbreviations for these units (KiB, MiB, GiB, ...) are further shortened to just their first letter: K, M, G, .... -c, --total produce a grand total. -C, --cachestat force usage of the cachestat(2) syscall instead of mincore(2), and fail if it's not available. -o, --output lista Definiera utdatakolumner. Se utdata --help for att fa en lista over de kolumner som stods for narvarande. Standardlistan med kolumner kan utokas om lista anges i formatet +list. --output-all Skriv ut alla tillgangliga kolumner. -r, --raw Producerar utdata i raformat. Alla potentiellt osakra tecken ar hexadecalerade (\x). -J, --json Anvand JSON-utdataformat. -R, --recursive Recursively check all files in directories. -h, --help Visa hjalptext och avsluta. -V, --version Visa version och avsluta. MILJO LIBSMARTCOLS_DEBUG=all aktiverar libsmartcols felsokningsutdata. LIBSMARTCOLS_DEBUG_PADDING=on anvanda synliga utfyllnadstecken. UPPHOVSPERSONER Masatake YAMATO SE AVEN mincore(2), getpagesize(2), getconf(1p) cachestat(2) FELRAPPORTERING For felrapporter, anvand felhanteraren . TILLGANGLIGHET Kommandot fincore ingar i paketet util-linux som kan hamtas fran Linux Kernel Archive . util-linux 2.42.1 2026-05-18 FINCORE(1)