Browse Source

watch: add command (#10027)

KRyTeX1337 1 year ago
parent
commit
fb7c5c3eae
1 changed files with 4 additions and 0 deletions
  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}}`