macOS
brew install gopslocal Homebrew formula metadata
brew
Tool to list and diagnose Go processes currently running on your system. Version 0.3.29 via Homebrew; verified from local package data.
install
brew install gopslocal Homebrew formula metadata
sudo apk add gopsAlpine Linux edge package indexes · gops · source: dl-cdn.alpinelinux.org
sudo dnf install gopsFedora Rawhide package metadata · gops · source: dl.fedoraproject.org
nix profile install nixpkgs#gopsnixpkgs package indexes · pkgs/by-name/go/gops/package.nix · source: api.github.com
sudo zypper install gopsopenSUSE Tumbleweed package metadata · gops · source: download.opensuse.org
overview
Tool to list and diagnose Go processes currently running on your system
history
gops is a Google-maintained command for listing and diagnosing Go processes on a machine. It made Go runtime introspection feel like a normal system-admin command: list Go binaries, inspect runtime state, and ask instrumented processes for stack, memory, GC, pprof, and trace data.
The google/gops repository was created in 2016. Its README describes a tool that lists Go processes and can diagnose processes that start the optional gops agent.
gops built on a Go-specific runtime reality: Go binaries carry enough build/runtime identity to make process listing useful, and the runtime exposes diagnostics such as goroutine stacks, memory statistics, pprof profiles, garbage collection controls, and execution tracing.
The project retained a small command-line surface while expanding subcommands around local PID inspection and remote host:port agent access.
gops became a recognizable Go ecosystem utility because it solves a problem shared by many Go service operators: identifying which processes are Go programs and collecting runtime diagnostics without attaching a general-purpose debugger.
The input package facts list Homebrew, Alpine, Fedora, Nix, and openSUSE packages. That packaging breadth reflects a system-tool role across developer workstations and server-oriented Linux distributions.
The optional agent model limited universal introspection but made deeper diagnostics explicit: uninstrumented Go processes can be listed, while applications that import `github.com/google/gops/agent` expose richer data.
Running `gops` with no arguments lists local Go processes with PID, parent PID, program name, Go version, and binary path. Processes running the gops agent are marked in the list.
With a PID or agent address, gops can report process details, stack traces, memory statistics, runtime stats, GC settings, CPU and heap pprof profiles, and execution traces.
The README documents both local mode, where the target process must run as the same user, and remote mode, where the user supplies the agent address.
gops is package-nerd bait because it is both a command and an importable agent package. Installing the binary is useful, but the most interesting behavior appears when Go programs deliberately import the agent.
It also shows why language-specific process tools exist alongside generic Unix tools: `ps`, `top`, and `lsof` know processes, but gops knows Go runtime concepts such as goroutines, heap profiles, and Go build versions.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
gops | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/google/gops
install metadata
| Package key | brew:gops |
|---|---|
| Version | 0.3.29 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/gops |
| Homepage | https://github.com/google/gops |
| Repository | https://github.com/google/gops |
| Upstream docs | https://github.com/google/gops#readme |
| License | BSD-3-Clause |
| Source archive | https://github.com/google/gops/archive/refs/tags/v0.3.29.tar.gz |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | gops |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
gops
nix profile install nixpkgs#gopsgops 0.3.29-r2
List and diagnose Go processes currently running on your system
https://github.com/google/gops
sudo apk add gopsgops-bash-completion 0.3.29-r2
Bash completions for gops
https://github.com/google/gops
sudo apk add gops-bash-completiongops-fish-completion 0.3.29-r2
Fish completions for gops
https://github.com/google/gops
sudo apk add gops-fish-completiongops-zsh-completion 0.3.29-r2
Zsh completions for gops
https://github.com/google/gops
sudo apk add gops-zsh-completiongops 0.3.29-5.fc45
List and diagnose Go processes currently running on your system
https://github.com/google/gops
sudo dnf install gopsgops 0.3.28-1.6
A tool to list and diagnose Go processes currently running on your system
https://github.com/google/gops
sudo zypper install gopssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.