pm-reset-swap: 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/lib64/pm-utils/bin/pm-reset-swap - from package: pm-utils

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