Package Usage: go: github.com/tklauser/numcpus
Package numcpus provides information about the number of CPUs in the system.
It gets the number of CPUs (online, offline, present, possible or kernel
maximum) on Linux, Darwin, FreeBSD, NetBSD, OpenBSD, DragonflyBSD,
Solaris/Illumos or Windows systems.
On Linux, the information is retrieved by reading the corresponding CPU
topology files in /sys/devices/system/cpu.
On BSD systems, the information is retrieved using the hw.ncpu and
hw.ncpuonline sysctls, if supported.
On Windows systems, the information is retrieved using the
GetActiveProcessorCount and GetMaximumProcessorCount functions, respectively.
Not all functions are supported on Darwin, FreeBSD, NetBSD, OpenBSD,
DragonflyBSD, Solaris/Illumos and Windows. ErrNotSupported is returned in
case a function is not supported on a particular platform.
13 versions
Latest release: over 1 year ago
7,242 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/tklauser/numcpus
Dependent Repos 2
web-et-numerique/factory/llle_project/cozy-stack
Fork of cozy-stack https://github.com/cozy/cozy-stackLast synced: 8 months ago

InseeFrLab/onyxia-onboarding-operator
An operator for onyxia's onboarding tasksSize: 71.3 KB - Last synced: 6 days ago - Pushed: over 1 year ago

InseeFrLab/s3-operator
A simple operator to dynamically create S3 buckets and policiesSize: 332 KB - Last synced: 6 days ago - Pushed: 8 days ago
