pagesize: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/pagesize - from package: libhugetlbfs-utils

You may install the required package with command yum install {package}
Error in other languages:
pagesize: bevel nie gevind nie
pagesize: comandă negăsită
pagesize: comando não encontrado
pagesize: commande introuvable
pagesize: command not found
pagesize: käsku ei ole
pagesize: không tìm thấy lệnh
pagesize: komanda nerasta
pagesize: Kommando nicht gefunden.
pagesize: kommandot finns inte
pagesize: komut yok
pagesize: nie znaleziono polecenia
pagesize: níor aimsíodh an t-ordú
pagesize: no se encontró la orden
pagesize: no s'ha trobat l'ordre
pagesize: opdracht niet gevonden
pagesize: parancs nem található
pagesize: perintah tidak ditemukan
pagesize: príkaz nenájdený
pagesize: příkaz nenalezen
pagesize: команда не найдена
pagesize: командата не е открита
pagesize: 命令找不到
pagesize: コマンドが見つかりません