dmstats: 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:

/sbin/dmstats - from package: device-mapper

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