Welcome to the Linux Foundation Forum!

LAB_2.6.pdf Figure 2.28 is incorrect

Options
surikoya
surikoya Posts: 5
edited March 2020 in LFS211 Class Forum

Small correction in LAB_2.6.pdf, Figure 2.28 is incorrect. CGroup should have been /foo.slice/foo.service. Appears to the same as Figure 2.25.

Can someone please confirm.

Comments

  • lee42x
    lee42x Posts: 380
    edited March 2020
    Options

    Hello Suriloya !

    Yes, you are correct, the same image was used and that was not the intention. The correct information is as you pointed out the CGroup should be foo.slice/foo.service. The class notes have been updated, and the updates will be released the next time we update the course.

    Here is what the correct image looks like on my test machine:

    [root@centos system]# systemctl status foo
    ● foo.service - Example service unit to run stress
    Loaded: loaded (/etc/systemd/system/foo.service; disabled; vendor preset: disabled)
    Drop-In: /etc/systemd/system/foo.service.d
    └─00-foo.conf
    Active: active (running) since Mon 2020-03-30 13:17:37 CDT; 8s ago
    Main PID: 5471 (stress)
    CGroup: /foo.slice/foo.service
    ├─5471 /usr/bin/stress --cpu 1 --vm 1 --io 1 --vm-bytes 128M
    ├─5472 /usr/bin/stress --cpu 1 --vm 1 --io 1 --vm-bytes 128M
    ├─5473 /usr/bin/stress --cpu 1 --vm 1 --io 1 --vm-bytes 128M
    └─5474 /usr/bin/stress --cpu 1 --vm 1 --io 1 --vm-bytes 128M

    Thank you for pointing this out, Lee

Categories

Upcoming Training