An open API service indexing awesome lists of open source software.

https://github.com/colinianking/pagein

tool to force pages in
https://github.com/colinianking/pagein

linux memory-management pages swapping

Last synced: about 1 year ago
JSON representation

tool to force pages in

Awesome Lists containing this project

README

          

# Pagein

Pagein is a tool that forces pages that are in swap to be paged in back to memory. The main usecase for pagein is to exercise the VM and swap subsystems for testing purposes.

pagein command line options:

* -a try to page in all processes.
* -h help
* -p page in process with process ID pid
* -v verbose mode

## Example:

```
sudo pagein -a
Processes scanned: 271
Kernel threads: 130 (skipped)
Processes touched: 140
Pages touched: 1834340
Free memory decrease: 2233252K (558313 pages)
Swap memory decrease: -27012K (-6753 pages)
Page faults major: 2850
Page faults minor: 468453
Swaps: 0
```