Explorar o código

watch: add command (#10027)

KRyTeX1337 hai 1 ano
pai
achega
fb7c5c3eae
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      pages/linux/watch.md

+ 4 - 0
pages/linux/watch.md

@@ -14,3 +14,7 @@
 - Monitor "node" processes, refreshing every 3 seconds:
 
 `watch -n {{3}} "{{ps aux | grep node}}"`
+
+- Monitor disk space and if it changes, stop monitoring:
+
+`watch -g {{df}}`