smbstatus: 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/smbstatus - from package: samba4
/usr/bin/smbstatus - from package: samba

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

On Debian possible default full paths are:

/usr/bin/smbstatus - from package: samba

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