gstat: 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/gstat - from package: ganglia-gmond

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

On Debian possible default full paths are:

/usr/bin/gstat - from package: ganglia-monitor

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