#cgroup #account #core #limit #process #applications

app ncore

Print the number of usable cores, taking into account cgroups

1 unstable release

0.1.0 Dec 15, 2022

#19 in #cgroup

AGPL-3.0-or-later

19KB

ncore

Print the number of usable cores available to an application, taking into account things like cgroups.

Usage

Print the number of _usable_ cores available to the process, taking into account things like cgroup
resource limits

Usage: 

Options:
  -n, --no-newline  Do not output a trailing newline
  -h, --help        Print help information
  -V, --version     Print version information

Dependencies

~4–5.5MB
~101K SLoC