(22)
https://qiita.com/sand_bash/items/30cb42ed53946e6eefa5
free -m
swapon -s
dd if=/dev/zero of=/swapfile bs=1M count=1024
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
free -m
swapon -s
swapoff /swapfile
rm -rf /swapfile
free -m
swapon -s
(11)
free -m
swapon -s
dd if=/dev/zero of=/swapfile bs=1M count=1024
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
free -m
swapon -s
swapoff /swapfile
rm -rf /swapfile
free -m
swapon -s
(RL8)
free -m
swapon -s
dd if=/dev/zero of=/swapfile bs=1M count=1024
chmod 600 /swapfile
mkswap /swapfile
swapon /swapfile
free -m
swapon -s
swapoff /swapfile
rm -rf /swapfile
free -m
swapon -s
- Windows Server
(2019)
https://mitsushima.work/archives/20388186.html
https://faq.mypage.otsuka-shokai.co.jp/app/answers/detail/a_id/287927/~/%5Bwindows%5D-%E4%BB%AE%E6%83%B3%E3%83%A1%E3%83%A2%E3%83%AA%28pagefile.sys%29%E3%81%AE%E8%A8%AD%E5%AE%9A%E3%82%92%E6%89%8B%E5%8B%95%E3%81%A7%E5%A4%89%E6%9B%B4%E3%81%99%E3%82%8B%E6%96%B9%E6%B3%95
https://www.ibm.com/support/pages/windows-server%E5%AE%8C%E5%85%A8%E3%83%A1%E3%83%A2%E3%83%AA%E3%83%80%E3%83%B3%E3%83%97%E3%81%AE%E8%A8%AD%E5%AE%9A%E6%96%B9%E6%B3%95
systeminfo
msinfo32
cmd /c "reg add ""HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management"" /v ""PagingFiles"" /t REG_MULTI_SZ /d ""c:\pagefile.sys 10240 10240"" /f"
Restart-Computer -Force
systeminfo
msinfo32