macOS
brew install gopslocal Homebrew formula metadata
安装
brew install gopslocal Homebrew formula metadata
sudo apk add gopsAlpine Linux edge package indexes · gops · 来源: dl-cdn.alpinelinux.org
sudo dnf install gopsFedora Rawhide package metadata · gops · 来源: dl.fedoraproject.org
nix profile install nixpkgs#gopsnixpkgs package indexes · pkgs/by-name/go/gops/package.nix · 来源: api.github.com
sudo zypper install gopsopenSUSE Tumbleweed package metadata · gops · 来源: download.opensuse.org
概览
Tool to list and diagnose Go processes currently running on your system
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
gops | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/google/gops
安装元数据
| 软件包键 | 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 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 gops来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.