Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • Thanks. Any hint about this nice ways? What would it be Commented Jun 19, 2017 at 15:40
  • This is done already by the system at a per-user level with /etc/security/limits.conf; the current settings can be observed with ulimit. Give your process a role user, and apply appropriate resource limits. Commented Jun 19, 2017 at 15:52
  • I reread your question. The only limit you want is on the total amount of CPU time that a process or set of processes accumulate? Or are there other criteria, such as percentage of CPU used over a certain time period, memory usage, disk space usage, disk bandwidth, network usage, etc. Commented Jun 19, 2017 at 17:11
  • @DopeGhoti sounds nice but installing a program is usually done with root Commented Jun 19, 2017 at 21:45
  • @MarkPlotnick well, I think total amount of CPU time constraining would do the job. Unresponsive machine usually runs out of this Commented Jun 20, 2017 at 5:14