pkg.soopen package index

brew / 順位 500

watch を Homebrew, MacPorts, winget でインストール

watch のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

インストール

追加のインストールコマンド

macOS

Homebrew確認済み · 100%
brew install watch

local Homebrew formula metadata

MacPorts確認済み · 94%
sudo port install watch

MacPorts ports tree · sysutils/watch/Portfile · ソース: api.github.com

Windows

Windows Package Manager確認済み · 92%
winget install --id 54145a.145watch -e

Windows Package Manager source index · 54145a.145watch · ソース: cdn.winget.microsoft.com

概要

パッケージ概要

Executes a program periodically, showing output fullscreen

コマンドとエイリアス

  • watch

履歴

プロジェクトの歴史と使われ方

watch is the small terminal utility that reruns a command at an interval and redraws the first screenful of output. In practice it is a Unix operator's ad-hoc dashboard: useful for repeatedly inspecting process state, kernel values, logs, queues, counters, or any shell pipeline whose output changes over time.

プロジェクトの歴史

The current procps-ng source keeps a compact lineage in the watch source header: it is based on Tony Rems's original 1991 watch, with later modifications by Francois Pinard; Mike Coleman, Albert Cahalan, Morty Abzug, Jarrod Lowe, Sami Kerola, Jim Warner, Craig Small, and Roman Zilka appear in the copyright and feature history. That lineage explains why a tiny command has accumulated practical terminal behavior over decades rather than becoming a new standalone project.

watch is maintained today as part of procps/procps-ng, the Linux /proc-oriented utility collection that also includes ps, top, free, vmstat, pgrep, pkill, uptime, w, and related tools. The procps-ng NEWS file records the 3.3.0 fork by Debian, Fedora, and openSUSE maintainers from procps, followed by steady watch-specific work such as Unicode and ANSI color handling, no-wrap mode, precise intervals, no-rerun-on-resize, equal-output exit behavior, 256-color support, and the more recent follow mode.

使われ方

The standard manual describes watch as running a command repeatedly, defaulting to a two-second interval, until interrupted. Its core options cover interval control, highlighting differences between refreshes, exiting when output changes or stabilizes, treating the command as exec rather than shell text, preserving or suppressing the title header, interpreting color, and reacting to non-zero command exits.

Typical package-nerd use is not limited to process monitoring. Users wrap arbitrary shell fragments: `watch -d ls -l`, `watch uname -r`, a pipeline over `/proc/cpuinfo`, a ping loop, a queue-depth check, or a package-build directory listing. Because the command is usually passed through `sh -c`, watch composes naturally with shell quoting, pipes, redirects, and text filters.

パッケージ好きにとっての重要性

watch matters because it is the minimal repeat loop with terminal ergonomics. It occupies the space between a one-off command and writing a monitoring script: no daemon, no UI framework, no config, just a refresh interval, a screen, and a shell command. That makes it a fixture in build troubleshooting, service bring-up, kernel and container debugging, and package maintainer workflows where quick visual feedback beats a permanent monitoring stack.

タイムライン

  • 1991: Original watch by Tony Rems, later noted in the procps-ng source header.
  • 1999-2009: Later source-header credits record Mike Coleman work, Morty Abzug's stderr/exec/beep additions, and Jarrod Lowe's Unicode support.
  • 2011: procps-ng 3.3.0 is described in NEWS as the Debian, Fedora, and openSUSE fork of procps.
  • 2014-2026: procps-ng NEWS shows continuing watch maintenance, including interval, Unicode, ANSI/color, resize, line wrapping, and output-change behavior.
  • 2025: The man-pages copy of watch(1) documents modern options such as --follow, --equexit, --precise, --exec, and WATCH_INTERVAL.

Related projects

  • watch is related to procps/procps-ng tools such as ps, top, vmstat, uptime, w, pgrep, and free; to shell loops such as `while true; do ...; sleep ...; done`; and to file/event-oriented rerun tools such as entr, watchexec, and Watchman, though watch itself is polling command output rather than subscribing to file changes.

セキュリティ状態

リスクレベル: グリーン

narrow executable package without higher-risk signals.

リスク分類器

リスク グリーン · 信頼度 低 · appliance

理由

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

インストール挙動

  • Homebrew bottle メタデータは記録されていません。

推奨レビュー

エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。

実行可能ファイル

インストールされる実行可能ファイル

コマンド種類公開範囲メモ
watch実行可能ファイルインデックス済み実行可能ファイルローカル実行可能ファイルインデックスから検出されました。

鮮度

バージョンと鮮度

これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。

ページ生成日2026-08-03
マネージャ版4.0.6
マネージャ更新日
ローカルデータ不明
上流利用不可
検出された最新未検出
  • OK鮮度警告は生成されていません。

インストールメタデータ

パッケージメタデータ

パッケージキーbrew:watch
バージョン4.0.6
パッケージマネージャHomebrew
ホームページhttps://gitlab.com/procps-ng/procps
Bottle未記録
サービス宣言なし

ソースデータベース一致

他のパッケージマネージャ記録

一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。

MacPorts95%

watch

sudo port install watch
  • normalized package name match
  • 一致条件: Watch
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/watch/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
winget95%

54145a.145watch

winget install --id 54145a.145watch -e
  • normalized package name match
  • 一致条件: Watch
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: 54145a.145watch from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

Japplis.Watch

winget install --id Japplis.Watch -e
  • normalized package name match
  • 一致条件: Watch
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Japplis.Watch from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

echocat.watch

winget install --id echocat.watch -e
  • normalized package name match
  • 一致条件: Watch
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: echocat.watch from https://cdn.winget.microsoft.com/cache/source.msix

ソース経路

リポジトリデータから生成

このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。

使用ソース

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • pkg.so package database
  • pkgdb category and tag curation