To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

watch (command)

From Wikipedia, the free encyclopedia

watch
Original author(s)Tony Rems
Developer(s)Francois Pinard,
Mike Coleman,
Albert Cahalan,
Morty Abzug,
Jarrod Lowe
Initial release1991; 33 years ago (1991)
Repositorygitlab.com/procps-ng/procps
Operating systemUnix-like
TypeCommand
LicenseGPLv2.1+

watch is a command-line tool, part of the Linux procps and procps-ng packages, that runs the specified command repeatedly and displays the results on standard output so the user can watch it change over time. By default, the command is run every two seconds, although this is adjustable with the -n secs argument. Since the command is passed to sh -c, it may be necessary to encase it in quotes for it to run correctly.

Syntax

watch [options] command [command options]

Example

watch "ps -e | grep php"

This will generate a list of processes every two seconds, filter for all lines that contain the word "php", and display the results on the screen. The output might look something like this:

Every 2s: ps -e | grep php                             Tue Jan 30 14:56:33 2007

reconst  30028  0.0  0.0  7044 2596 ?        S    Jan23   0:00 vim -r core/html_api.php
cinonet  28009  0.0  0.2 20708 11064 ?       SN   Jan25   0:30 php5.cgi
donoiz   23810  0.0  0.2 22740 10996 ?       SN   Jan27   0:30 php.cgi 43/pdf

The watch command is useful for viewing changes over time, like repeatedly running the ls -l command to watch a file's size change, or running ps as in the above example to monitor certain processes continuously.

Arguments

  • -d – Highlights differences between iterations
  • -h – Displays a help message, then exits
  • -n secs – Specifies the interval between executions of the command in seconds
  • -t – Tells watch not to display the header
  • -v – Prints version information, then exits

See also

External links

This page was last edited on 7 October 2021, at 14:59
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.