pcu.git  about / heads / tags
page cache utilities for Linux
blob 3e73b729487e4f36f5339cecc3418075caf7810a 407 bytes (raw)
$ git show v0.1.0:README	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
 
command-line utils for viewing/managing the Linux page cache

pcu-mincore - shows the pages in the page cache for given files

	pcu-mincore <files>


pcu-fadvise - runs posix_fadvise(2) on a given file

	pcu-fadvise [-a advice] [-o offset] [-l length] <files>

	advice can be one of:
	  normal, sequential, random, noreuse, willneed, dontneed

See posix_fadvise(2) and mincore(2) manpages for more details.

git clone https://yhbt.net/pcu.git