On Mon, May 07, 2018 at 08:23:53PM -0500, Roger Heflin wrote:
> Generally when I am messing with usb drives I have used these 2 commands:
> 
> grep Dirty /proc/meminfo (dirty is the amount of write buffers that
> need to be flushed for all disks, most will usually be the disk that
> was just copied to)

Thanks for the hint.

watch grep Dirty /proc/meminfo

:)

> the second is "vmstat 1" and watch the bi/bo columns as they show
> reads and writes to the disk subsystem, if it umounts when the writes
> stop that implies the sync may have returned before it actually did
> all its work.

seems useful if there's more than one disk to monitor:

watch -dc vmstat -d 

definitely my favorite (the colors .. :) would be:

dstat -d -t -C all -f 3

Thanks again,
Wolfgang
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to