소스 검색

watch: add command (#10027)

KRyTeX1337 1 년 전
부모
커밋
fb7c5c3eae
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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}}`