From fb7c5c3eaea335dbc681a72b6177c4c92188f676 Mon Sep 17 00:00:00 2001 From: KRyTeX1337 Date: Sun, 9 Apr 2023 20:21:50 +0200 Subject: [PATCH] watch: add command (#10027) --- pages/linux/watch.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/watch.md b/pages/linux/watch.md index 246b32d29..63e767157 100644 --- a/pages/linux/watch.md +++ b/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}}`