# golang/sys

[mirror] Go packages for low-level interaction with the operating system

Repository: https://github.com/golang/sys
Canonical: https://ross.abutalabs.com/products/sys
Homepage: https://golang.org/x/sys
Language: Go
License: BSD-3-Clause
License Family: permissive
Last push: 2026-08-26T17:28:58+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 4290, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1350, forks 625 (observed 2026-08-28T04:04:28.130390+00:00)

## What it is
golang/sys provides supplemental Go packages for low-level interaction with the operating system, including syscall wrappers, constants, and types across Linux, macOS, Windows, BSD, and other platforms. It is the official golang.org/x/sys library maintained by the Go team as a mirror of the upstream repository.

## Use cases
- make raw system calls from Go
- query OS version and hardware info in Go
- interact with Windows APIs from Go
- use Unix domain sockets and ioctl in Go
- get process and memory information on Linux
- portable low-level OS access across platforms

## When to choose
- you need syscall-level access beyond Go's standard os/syscall packages
- you want official, well-maintained Go bindings for OS primitives
- you need cross-platform low-level constants and types
- you're building system tools or daemons in Go

## When to avoid
- you only need high-level file or process operations covered by the standard library
- you're not programming in Go
- you need a stable API guarantee - x/sys APIs can evolve

## Facets
- artifact type: library
- maturity: stable
- function: developer-tools, file-system, networking
- domain: operating-systems, developer-tools, cross-platform
- platform: windows, bsd, go
- tags: system-calls, os-interaction, golang-org, low-level, unix, windows-api, linux, macos

## Member repositories
- golang/sys (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:28.130390+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:16.795750+00:00, confidence not recorded.
  - readme: https://github.com/golang/sys (fetched 2026-08-28T04:04:28.130390+00:00, sha 55c5f38e73b8)
  - homepage: https://golang.org/x/sys (fetched 2026-08-29T12:01:03.401978+00:00, sha f40b2ff82d55)
- Data as of 2026-08-30T08:39:29.467469+00:00.
