• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

drakenclimber / libcgroup / 8826253311
58%
main: 56%

Build:
Build:
LAST BUILD BRANCH: alert-autofix-11
DEFAULT BRANCH: main
Ran 25 Apr 2024 02:46AM UTC
Jobs 5
Files 29
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

25 Apr 2024 02:41AM UTC coverage: 58.353% (-0.07%) from 58.426%
8826253311

push

github

drakenclimber
python: tools: Add tool for displaying a list of realtime data

Add a tool for displaying the realtime allocations for a cgroup
hierarchy.

$ ./src/tools/cgrealtimelist.py -C application.sliceRUNTIME  PERIOD PERCENT CGROUP
   1000    8000  12.50% /child2.service
   5000  100000   5.00% /child1.service
  20000 1000000   2.00% /child3.service

10,000 / 50,000 microseconds (20.00%) of the CPU cycles have been allocated to realtime in the root cgroup.

9,750 of the 10,000 realtime cycles (97.50%) for /application.slice have been assigned to children cgroups

5,000 (cpu.rt_runtime_us) / 1,000,000 (cpu.rt_period_us) microseconds can still be assigned to a child of /application.slice

Note that the remaining cpu.rt_runtime_us is estimated and could be off by 1 or 2 in either direction.

$ ./src/tools/cgrealtimelist.py
RUNTIME  PERIOD PERCENT CGROUP
  10000   50000  20.00% /application.slice
   1000    8000  12.50% /application.slice/child2.service
  10000   90000  11.11% /system.slice
   5000  100000   5.00% /application.slice/child1.service
   1000   25000   4.00% /user.slice
   1000   50000   2.00% /system.slice/firewalld.service
  20000 1000000   2.00% /application.slice/child3.service
   1000   70000   1.43% /system.slice/systemd-udevd.service
   1000  100000   1.00% /init.scope

950,000 / 1,000,000 microseconds (95.00%) of the CPU cycles have been allocated to realtime in the root cgroup.

361,111 of the 950,000 realtime cycles (38.01%) for the root cgroup have been assigned to children cgroups

588,888 (cpu.rt_runtime_us) / 1,000,000 (cpu.rt_period_us) microseconds can still be assigned to a child of the root cgroup

Note that the remaining cpu.rt_runtime_us is estimated and could be off by 1 or 2 in either direction.

Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>

5533 of 9482 relevant lines covered (58.35%)

1130.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Cgroup v1/v2 Functional Tests - 8826253311.1 25 Apr 2024 02:49AM UTC 0
53.84
GitHub Action Run
2 Cgroup v1 Functional Tests - 8826253311.2 25 Apr 2024 02:48AM UTC 0
44.74
GitHub Action Run
3 No systemd Functional Tests - 8826253311.3 25 Apr 2024 02:55AM UTC 0
49.84
GitHub Action Run
4 Cgroup v2 Functional Tests - legacy - 8826253311.4 25 Apr 2024 03:25AM UTC 0
51.25
GitHub Action Run
5 Unit Tests - 8826253311.5 25 Apr 2024 02:46AM UTC 0
10.98
GitHub Action Run
Source Files on build 8826253311
Detailed source file information is not available for this build.
  • Back to Repo
  • 367f08af on github
  • Prev Build on cgsos3 (#8826203501)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc