dpm-getspacemd: 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/dpm-getspacemd - from package: dpm

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

On Debian possible default full paths are:

/usr/bin/dpm-getspacemd - from package: dpm

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