如何在 Mac OS 上安装 cgroups

Yan*_*tko 1 cgroups macos

如何在我的普通 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)
Run Code Online (Sandbox Code Playgroud)

控制组工具(控制和监视控制组的工具)?这甚至可能适用于我的 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.
Run Code Online (Sandbox Code Playgroud)

sch*_*iba 5

cgroups 是 Linux 内核特定的功能,因此您不会在 Mac 上找到它。

  • 某些人 _next_ 问题的答案将在 https://unix.stackexchange.com/q/113471/5132 。(-: (2认同)