https://github.com/dotslash/pagecacheutil
View, add, evict files from page cache
https://github.com/dotslash/pagecacheutil
golang linux pagecache unix
Last synced: 26 days ago
JSON representation
View, add, evict files from page cache
- Host: GitHub
- URL: https://github.com/dotslash/pagecacheutil
- Owner: dotslash
- Created: 2021-02-10T10:17:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-19T19:40:21.000Z (over 4 years ago)
- Last Synced: 2025-06-24T01:39:18.235Z (11 months ago)
- Topics: golang, linux, pagecache, unix
- Language: Go
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pagecacheutil
A less featureful version of https://github.com/hoytech/vmtouch written in go as a learning excercise. It lets you
1) see what parts of a file are in [page cache](https://en.wikipedia.org/wiki/Page_cache)
2) add a file into page cache
3) evict all aprts of a file from page cache (the system call for eviction is different in osx and linux. see oscompat directory)
### Screenshot with usage