ibstatus: 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/sbin/ibstatus - from package: infiniband-diags

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

On Debian possible default full paths are:

/usr/sbin/ibstatus - from package: infiniband-diags

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