Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, Nix, zypper 安装 gops

查看 gops 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install gops

local Homebrew formula metadata

Linux

Alpine Linux apk已验证 · 92%
sudo apk add gops

Alpine Linux edge package indexes · gops · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install gops

Fedora Rawhide package metadata · gops · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#gops

nixpkgs package indexes · pkgs/by-name/go/gops/package.nix · 来源: api.github.com

openSUSE zypper已验证 · 92%
sudo zypper install gops

openSUSE Tumbleweed package metadata · gops · 来源: download.opensuse.org

概览

软件包摘要

Tool to list and diagnose Go processes currently running on your system

命令和别名

  • gops

历史

项目历史与用法

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.

时间线

  • 2016: google/gops repository created.
  • 2017: README examples show Go 1.9-era process listing and runtime diagnostics.
  • 2010s: Project documents optional `github.com/google/gops/agent` integration for richer diagnostics.
  • 2020s: Distribution appears across Homebrew and multiple Linux package sets.

Related projects

  • Go's runtime/pprof and runtime tracing facilities provide the diagnostic substrate for gops commands.
  • The gops agent package is embedded by target Go programs that want remote or richer inspection.
  • Generic system tools such as ps and pprof overlap with parts of the gops workflow, but gops packages Go-specific discovery and diagnostics together.

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
gopscli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本0.3.29
管理器更新时间
本地数据OK
上游当前
检测到的最新版本v0.3.29

https://github.com/google/gops

  • 信息No package-manager update timestamp was available.低 置信度

安装元数据

软件包元数据

软件包键brew:gops
版本0.3.29
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/gops
主页https://github.com/google/gops
仓库https://github.com/google/gops
上游文档https://github.com/google/gops#readme
许可证BSD-3-Clause
源码归档https://github.com/google/gops/archive/refs/tags/v0.3.29.tar.gz
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegops
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

gops

nix profile install nixpkgs#gops
  • normalized package name match
  • 匹配方式:Gops
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/gops/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
apk95%

gops 0.3.29-r2

List and diagnose Go processes currently running on your system

https://github.com/google/gops

sudo apk add gops
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gops
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gops
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gops from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gops-bash-completion 0.3.29-r2

Bash completions for gops

https://github.com/google/gops

sudo apk add gops-bash-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gops
  • normalized package name match
  • 匹配方式:Gops
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gops-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gops-fish-completion 0.3.29-r2

Fish completions for gops

https://github.com/google/gops

sudo apk add gops-fish-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gops
  • normalized package name match
  • 匹配方式:Gops
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gops-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gops-zsh-completion 0.3.29-r2

Zsh completions for gops

https://github.com/google/gops

sudo apk add gops-zsh-completion
  • License: BSD-3-Clause
  • Architecture: x86_64
  • Source Package: gops
  • normalized package name match
  • 匹配方式:Gops
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gops-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gops 0.3.29-5.fc45

List and diagnose Go processes currently running on your system

https://github.com/google/gops

sudo dnf install gops
  • License: Apache-2.0 AND BSD-3-Clause AND MIT AND MPL-2.0
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: gops
  • 3 依赖
  • 2 提供
  • normalized package name match
  • 匹配方式:Gops
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gops from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

gops 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 gops
  • License: BSD-3-Clause-Clear
  • Category: System/Monitoring
  • Architecture: x86_64
  • Source Package: gops
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Gops
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: gops from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment