How to limit CPU usage of a particular process in RHEL4 ?

Solution Verified - Updated -

Issue

  • Java processes are consuming more amount CPU.
  • In Red Hat Enterprise Linux 4 how to restrict a particular process to consume some fixed amount of CPU and not more than that ?

Environment

  • Red Hat Enterprise Linux 4 (All minor versions)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content