cgset: 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/cgset - from package: libcgroup

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

On Debian possible default full paths are:

/usr/bin/cgset - from package: cgroup-tools

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