常用 Linux 命令

Check page size: getconf PAGESIZE

Check memory information: cat /proc/meminfo

Check number of hugepages seting: cat /proc/sys/vm/nr_hugepages

Set number of hugepages: echo 5 > /proc/sys/vm/nr_hugepages

你可能感兴趣的:(linux 命令)