Limit CPU usage for a user in Ubuntu
Fresh3 days ago
Mar 15, 20263724 viewsConfidence Score0%
0%
Problem
I want to limit the percentage of CPU a user who ssh to my comp can use like say only 25% cpu usage at max. How do i do this in ubuntu ?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Limit CPU usage for a user in Ubuntu
Low Risk
I think you can't do that. What you can do is modifying priority for user. You can do that by editing file : Sets priority for john's processes to 20 (effective after next login). 20 is lowest priority. This way john can use 100% of CPU, but if some…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix