pmiestatus: 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/libexec/pcp/bin/pmiestatus - from package: pcp

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/lib/pcp/bin/pmiestatus - from package: pcp

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