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

/bin/taskset - from package: util-linux-ng

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

On Debian possible default full paths are:

/usr/bin/taskset - from package: util-linux

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