Ver código fonte

watch: add command (#10027)

KRyTeX1337 1 ano atrás
pai
commit
fb7c5c3eae
1 arquivos alterados com 4 adições e 0 exclusões
  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}}`