pmlogcheck: 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/pmlogcheck - from package: pcp

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

On Debian possible default full paths are:

/usr/bin/pmlogcheck - from package: pcp

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