pkg.sopackage field notes

brew / rang 501

Installer watch avec Homebrew

Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de watch pour les workflows d'agents IA.

installation

Commandes d'installation supplémentaires

macOS

Homebrewvérifié · 100%
brew install watch

provider-native install command

aperçu

Résumé du paquet

Executes a program periodically, showing output fullscreen

Commandes et alias

  • watch

historique

Historique du projet et usages

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.

Historique du projet

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.

Modes d'utilisation

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.

Pourquoi les passionnés de paquets s'y intéressent

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.

Chronologie

  • 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.

posture de sécurité

Niveau de risque : vert

narrow executable package without higher-risk signals.

Classificateur de risque

risque vert · confiance faible · appliance

Pourquoi

  • narrow executable package without higher-risk signals

Signaux

  • metadata:no-higher-risk-signals

Comportement d'installation

  • Aucune métadonnée de bottle Homebrew n’a été enregistrée.

Revue recommandée

Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.

exécutables

Exécutables installés

CommandeTypeExpositionNote
watchexécutableexécutable indexéDécouvert depuis l'index local des exécutables.

fraîcheur

Version et fraîcheur

Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.

page générée2026-08-03
version du gestionnaire4.0.6
gestionnaire mis à jour
données localesinconnu
amontnon disponible
dernière version détectéenon détecté
  • OKAucun avertissement de fraîcheur n'a été généré.

métadonnées d'installation

Métadonnées du paquet

Clé du paquetbrew:watch
Version4.0.6
Gestionnaire de paquetsHomebrew
Page d'accueilhttps://gitlab.com/procps-ng/procps
Bouteillenon enregistré
Serviceaucun déclaré

piste source

Généré depuis les données du dépôt

Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.

Sources utilisées

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation