如何在我的普通 MacOS 上安装
(Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64 i386)
控制组工具(控制和监控控制组的工具)?这对于我的 Mac 来说可行吗?我已经做到了,并使用 Homebrew 得到了这个:
YanasMacBookPro:testdir mac$ brew install libcgroup
Error: No available formula with the name "libcgroup"
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
git -C "$(brew --repo homebrew/core)" fetch --unshallow
Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.
答案1
cgroups 是 Linux 内核特定的功能,因此您在 Mac 上找不到它。