hwloc-ps: 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/hwloc-ps - from package: hwloc

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

On Debian possible default full paths are:

/usr/bin/hwloc-ps - from package: hwloc-nox
/usr/bin/hwloc-ps - from package: hwloc

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