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

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

On Debian possible default full paths are:

/usr/bin/pmchart - from package: pcp-gui

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