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

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

On Debian possible default full paths are:

/usr/bin/pmevent - from package: pcp

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