Conversation
Notices
-
Embed this notice
@lamp watchSync() {
watch -n1 'grep -E "(Dirty|Write)" /proc/meminfo; echo; ls /sys/block/ | while read device; do awk "{ print \"$device: \" \$9 }" "/sys/block/$device/stat"; done'
}
GNU sync will exit when writeback is complete, although it won't tell you how much there is to flush unlike watchSync.
-
Embed this notice
Wtf it can't copy so fast to usb 2.0 flash drive it copied like 3gb in 10 seconds it must be using write cache so well how tf i know when it's done actually copying now...