Ecosyste.ms: Funds
An open API service for providing issue and pull request metadata for open source projects.
https://github.com/tklauser/numcpus
bsd cpu cputopology go golang linux numa offline online unix
Last synced: about 4 hours ago
Repository metadata:
Package numcpus provides information about the number of CPUs in the system.
- Host: GitHub
- URL: https://github.com/tklauser/numcpus
- Owner: tklauser
- License: apache-2.0
- Created: 2018-12-13T16:31:43.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-25T10:55:24.000Z (16 days ago)
- Last Synced: 2024-10-29T19:59:28.573Z (11 days ago)
- Topics: bsd, cpu, cputopology, go, golang, linux, numa, offline, online, unix
- Language: Go
- Homepage: https://pkg.go.dev/github.com/tklauser/numcpus
- Size: 1.02 MB
- Stars: 26
- Watchers: 3
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Owner metadata:
- Name: Tobias Klauser
- Login: tklauser
- Email:
- Kind: user
- Description:
- Website: https://distanz.ch
- Location: Switzerland
- Twitter: t_klauser
- Company: @isovalent
- Icon url: https://avatars.githubusercontent.com/u/539708?v=4
- Repositories: 40
- Last Synced at: 2023-03-11T17:27:17.495Z
- Profile URL: https://github.com/tklauser
- Sponsor URL:
Committers metadata
Last synced: about 7 hours ago
Total Commits: 190
Total Committers: 2
Avg Commits per committer: 95.0
Development Distribution Score (DDS): 0.305
Commits in past year: 44
Committers in past year: 2
Avg Commits per committer in past year: 22.0
Development Distribution Score (DDS) in past year: 0.455
Name | Commits | |
---|---|---|
Tobias Klauser | t****r@d****h | 132 |
dependabot[bot] | 4****] | 58 |
Issue and Pull Request metadata
Last synced: 1 day ago
Package metadata
- Total packages: 1
- Total downloads: unknown
- Total docker downloads: 8,953,489,419
- Total dependent packages: 7,242
- Total dependent repositories: 15,502
- Total versions: 13
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.
- Homepage: https://github.com/tklauser/numcpus
- Documentation: https://pkg.go.dev/github.com/tklauser/numcpus#section-documentation
- Licenses: Apache-2.0
- Latest release: v0.7.0 (published 12 months ago)
- Last Synced: 2024-11-09T00:07:40.012Z (1 day ago)
- Versions: 13
- Dependent Packages: 7,242
- Dependent Repositories: 15,502
- Docker Downloads: 8,953,489,419
-
Rankings:
- Dependent packages count: 0.026%
- Docker downloads count: 0.041%
- Dependent repos count: 0.058%
- Average: 3.277%
- Forks count: 7.427%
- Stargazers count: 8.835%
Dependencies
- golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab
- golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab
- actions/checkout ac593985615ec2ede58e132d2e21d2b1cbd6127c composite
- actions/setup-go 6edd4406fa81c3da01a34fa6f6343087c207a568 composite
- actions/checkout ac593985615ec2ede58e132d2e21d2b1cbd6127c composite
- actions/setup-go 6edd4406fa81c3da01a34fa6f6343087c207a568 composite