Difference between revisions of "Watch"
Jump to navigation
Jump to search
(14 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | <code>watch</code> | + | [[wikipedia:Watch]] |
− | + | <code>watch</code> command | |
− | + | * https://linux.die.net/man/1/watch | |
+ | * macOS: <code>[[brew install watch]]</code> | ||
[[watch]] cat /proc/[[interrupts]] | [[watch]] cat /proc/[[interrupts]] | ||
− | [[watch]] -n 1 [[nvidia-smi]] | + | [[watch]] cat [[/proc/self/status]] |
− | + | [[watch]] --interval 1 [[nvidia-smi]] | |
− | + | [[watch]] -n 1 [[nvidia-smi]] | |
− | + | -n or --[[interval]] | |
== Related == | == Related == | ||
* [[Sensors]] | * [[Sensors]] | ||
* [[Kubernetes 1.24]] Efficient [[Watch]] Resumption: Watch can be efficiently resumed after <code>[[kube-apiserver]]</code> reboot. | * [[Kubernetes 1.24]] Efficient [[Watch]] Resumption: Watch can be efficiently resumed after <code>[[kube-apiserver]]</code> reboot. | ||
+ | * <code>[[osascript -e]]</code> | ||
+ | * <code>[[brew install hwatch]]</code> | ||
+ | * [[Apple Watch]] | ||
+ | * [[Samsung Galaxy Watch]] | ||
+ | * <code>[[kubectl get --watch]]</code> | ||
+ | * [[kubectl describe clusterrole view]] | ||
== See also == | == See also == | ||
+ | * {{watch}} | ||
* {{ps}} | * {{ps}} | ||
Latest revision as of 11:09, 30 March 2024
wikipedia:Watch
watch
command
watch cat /proc/interrupts watch cat /proc/self/status watch --interval 1 nvidia-smi watch -n 1 nvidia-smi -n or --interval
Related[edit]
- Sensors
- Kubernetes 1.24 Efficient Watch Resumption: Watch can be efficiently resumed after
kube-apiserver
reboot. osascript -e
brew install hwatch
- Apple Watch
- Samsung Galaxy Watch
kubectl get --watch
- kubectl describe clusterrole view
See also[edit]
- Wristwatch, Google Wear OS, Watch 6, Watch 5, Watch 4, Watch 3, Mi Watch, Mi Watch Lite, Apple watch, Google Pixel Watch, Samsung Galaxy Watch 7
- Process, zombie process, fork, thread:
ps
,tree
,pstree
,ps axf
,proc
,pwdx
,which
,watch
,sar -q
,tload
,uptime
, Interrupts,pgrep
,tasklist
(Windows), Zombie process,pstack
,docker ps
,docker-compose ps
,jobs
,acct
,process mrelease
,pidstat
, IPC,pidof
Advertising: