qstat-ge: 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

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/qstat-ge - from package: gridengine

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