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

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

On Debian possible default full paths are:

/usr/bin/iostat2pcp - from package: pcp-import-iostat2pcp

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