Skip to content

Commit

Permalink
watch: add command (#10027)
Browse files Browse the repository at this point in the history
  • Loading branch information
KRyTeX1337 authored Apr 9, 2023
1 parent 16d7f93 commit fb7c5c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/linux/watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}}`

0 comments on commit fb7c5c3

Please sign in to comment.