sysctl -a | grep swap
$ sudo pkill -HUP -u _windowserver
$ sudo fs_usage | grep swapfile
$ sudo fs_usage | grep PAGE_
$ sudo spindump -reveal $(pgrep WindowServer)
$ sudo spindump -reveal 0
sysctl -a | grep swap
$ sudo pkill -HUP -u _windowserver
$ sudo fs_usage | grep swapfile
$ sudo fs_usage | grep PAGE_
$ sudo spindump -reveal $(pgrep WindowServer)
$ sudo spindump -reveal 0
Comment out lines to be skipped. Could refactor into mini functions w/,main, but why tho
¯\_(ツ)_/¯