github.com/tklauser/numcpus
go
pkg:golang/github.com/tklauser/numcpus
34 Dependabot PRs
6 months ago
19 repositories
0 repositories
Recent PRs (filtered by: Open )
build(deps): bump the go-dev-dependencies group with 14 updates
greenbone/opensight-golang-libraries #269
chore(deps): bump the tklauser-modules group across 1 directory with 2 updates
gofiber/recipes #3745
chore(deps): bump the tklauser-modules group across 21 directories with 2 updates
gofiber/storage #2166
chore(deps): bump github.com/tklauser/numcpus from 0.6.1 to 0.11.0 in /rueidis
gofiber/storage #2121
chore(deps): bump github.com/tklauser/numcpus from 0.6.1 to 0.11.0 in /nats
gofiber/storage #2100
build(deps): bump the tklauser-modules group across 3 directories with 2 updates
gofiber/contrib #1526
chore(deps): bump github.com/tklauser/numcpus from 0.6.1 to 0.11.0 in /couchbase
gofiber/storage #2062
chore(deps): bump github.com/tklauser/numcpus from 0.10.0 to 0.11.0 in /clickhouse
gofiber/storage #2052
build(deps): bump github.com/tklauser/numcpus from 0.10.0 to 0.11.0 in /v3/testcontainers
gofiber/contrib #1506
build(deps): bump github.com/tklauser/numcpus from 0.10.0 to 0.11.0 in /v3/loadshed
gofiber/contrib #1500
deps(deps): bump the production-dependencies group with 2 updates
antinvestor/service-authentication #490
deps: bump the production-dependencies group with 12 updates
pitabwire/frame #577
deps: bump the production-dependencies group with 8 updates
antinvestor/service-profile #459
chore(deps): bump github.com/tklauser/numcpus from 0.6.1 to 0.10.0
thc1006/nephoran-intent-operator #288
deps(deps): bump the production-dependencies group with 29 updates
antinvestor/matrix #285
Bump the go-modules group across 1 directory with 44 updates
Bump the go-modules group across 1 directory with 43 updates
Package Details
| Name: | github.com/tklauser/numcpus |
| Ecosystem: | go |
| PURL Type: | golang |
| Package URL: | pkg:golang/github.com/tklauser/numcpus |
| JSON API: | View JSON |
Package Information
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.
| Repository: | https://github.com/tklauser/numcpus |
| Homepage: | https://github.com/tklauser/numcpus |
| Latest Release: |
v0.10.0
over 1 year ago |
| Dependent Repos: | 15,502 |
| Dependent Packages: | 7,242 |
| Ranking: | Top 0.0579% by dependent repos Top 0.026% by dependent pkgs |