Skip to main content

Module watch

Module watch 

Source
Expand description

proc watch - Real-time process monitoring

Examples: proc watch # Watch all processes (alias: proc top) proc watch node # Watch the processes named node proc watch node –cmd # … or with node anywhere in their command line proc watch :3000 # Watch process on port 3000 proc watch :3000 :8080 node # Watch several targets: separate arguments proc watch –in . –by node # Watch node processes in current directory proc watch -n 1 –sort mem # 1s refresh, sorted by memory proc watch –json | head -2 # NDJSON output

Commas still work (proc watch :3000,:8080) but are deprecated.

Structs§

WatchCommand
Watch processes in real-time

Enums§

WatchSortKey
Sort key for watch command (mirrors SortKey but with independent default)