How to find out what enabled CPU Accounting cgroup hierarchy at runtime

Solution Verified - Updated -

Issue

  • Initially the system has no cgroup hierarchy /sys/fs/cgroup/cpu/{user,system}.slice, but after some time, /sys/fs/cgroup/cpu/{user,system}.slice is present, causing my RealTime applications to fail

  • I want to know what enabled CPU Accounting internally

Environment

  • Red Hat Enterprise Linux 7 and 8
    • cgroupv1

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