mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
bin: add new script
This commit is contained in:
parent
bb3df4589c
commit
0f5316b1d2
1 changed files with 2 additions and 0 deletions
2
bin/watchsync
Executable file
2
bin/watchsync
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
watch -n1 'grep -E "(Dirty|Write)" /proc/meminfo; echo; ls /sys/block/ | while read -r device; do awk "{ print \"$device: \" \$9 }" "/sys/block/$device/stat"; done'
|
||||
Loading…
Add table
Add a link
Reference in a new issue