ncgmstat: 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/ncgmstat - from package: ncl

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

On Debian possible default full paths are:

/usr/bin/ncgmstat - from package: ncl-ncarg

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