openRuyi Lookout
← Packages

go-github-tklauser-go-numcpus

Go package providing information about the number of CPUs in the system

Current
0.12.0
Candidate
Stale
License
Apache-2.0

Build

TargetResultLast successful versionSucceeded at
rva23
0.12.0
rva20
0.12.0
x86_64
0.12.0

Description

Package numcpus provides information about the number of CPUs in the system. It gets the number of CPUs (online, offline, present, possible, configured or kernel maximum) on Linux, Darwin, FreeBSD, NetBSD, OpenBSD, DragonflyBSD or Solaris/Illumos 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. Not all functions are supported on Darwin, FreeBSD, NetBSD, OpenBSD, DragonflyBSD and Solaris/Illumos. ErrNotSupported is returned in case a function is not supported on a particular platform.

Changelog

PR · 3

Checks
MonitorObservationLast checked
Stale
Repository refresh: git fetch exited 128 (authentication)
Stale
Source last confirmed at 2026-11-10T13:32:55+00:00; repository refresh overdue.
Checked
Checked
Not configured
No reliable monitor identity/configuration.
—
Not applicable
No confirmed version upgrade; this monitor is not run.
—
Checked
Last attempted
Checked
Current source component only; local patches, build options, bundled dependencies and binary artifacts are not evaluated.
Checked