github.com/tklauser/numcpus
go
pkg:golang/github.com/tklauser/numcpus
34 Dependabot PRs
6 months ago
19 repositories
0 repositories
Recent PRs
deps(deps): bump the go-dependencies group with 15 updates
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 /testhelpers/tck
gofiber/storage #2151
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 /postgres
gofiber/storage #2108
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 /dynamodb
gofiber/storage #2065
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
chore(deps): bump github.com/tklauser/numcpus from 0.6.1 to 0.11.0 in /cassandra
gofiber/storage #2044
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/monitor
gofiber/contrib #1502
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 across 1 directory with 3 updates
antinvestor/service-authentication #491
deps(deps): bump the production-dependencies group with 2 updates
antinvestor/service-authentication #490
chore(deps): bump github.com/tklauser/numcpus from 0.10.0 to 0.11.0
golanglib/dependabot_botherer #7255
chore(deps): bump the minor-and-patch group with 65 updates
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
deps(deps): bump the go-dependencies group with 20 updates
deps(deps): bump the production-dependencies group with 19 updates
antinvestor/service-authentication #429
chore(deps): bump the go-modules group with 69 updates
Bump the go-modules group across 1 directory with 24 updates
paketo-buildpacks/ruby #1209
Bump the go-modules group across 1 directory with 44 updates
Bump the go-modules group across 1 directory with 44 updates
paketo-buildpacks/dotnet-core-sdk #889
Bump the go-modules group across 1 directory with 43 updates
Bump the go-modules group across 1 directory with 44 updates
paketo-buildpacks/dotnet-execute #761
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 |