I'm trying to limit a Linux user via
cgroups. I used the following command:
systemctl set-property user-1007.slice CPUQuota=50%
1007 is the user id I want to limit.
But after executing that, I get the following message:
Failed to set unit properties on user-1007.slice: Unit user-1007.slice is not loaded.
I tried searching the interwebs, but could not find anything.
Any help is greatly appreciated.
- CentOS Linux release 7.2.1511 (Core)