I need to use swap files with dynamically size. Someone suggested me to use swap space tool, but I find only solution to install it on Ubuntu. I downloaded source code, compiled it and I can run it, but there’s error message and program exits.
> LANG=C sudo ./swapspace
Error: Parse error in /proc/meminfo: ' HugePages_Total: 0
'
This tool have no maintainers, so I search for alternatives.