Page 1 of 1

Watching drive read/write, knowing when copying is done

Posted: Sat Jun 29, 2024 4:45 pm
by wizard

Drive-watch is a small utility that monitors drive reads and writes. It can serve as an indicator for when a large file copy operation is complete. It grew from this post on USB corruption: viewtopic.php?t=11960

Drv-watch.sh uses dstat, which can be installed from the PPM/repo. In use it opens a small URXVT terminal window and displays scrolling read/write speeds. It can be left running on the desktop or minimzed to the tray until needed.

drv-watch2.jpg
drv-watch2.jpg (4.74 KiB) Viewed 635 times

Consistant write speeds that are zero or low "k" indicate copy operations are complete. Drv-watch is useful for seeing the read/write speeds of both internal and external drives. Particularly interesting for USB flash drives which may be painfully slow.

Additionally, drv-watch can be easliy modified to display other information such as network speeds.

First, install: dstat
Then download the file, remove the .gz and click it to run.

wizard


Re: Watching drive read/write, knowing when copying is done

Posted: Sat Jun 29, 2024 7:12 pm
by Flash

The copy command, cp, has an option, -v (for verbose) that might be TMI. :lol:


Re: Watching drive read/write, knowing when copying is done

Posted: Sat Jun 29, 2024 7:43 pm
by wizard

@Flash

The advantage with drv-watch is it is just watching the drives no matter what program or command you use to do the copy operation.

Thanks
wizard


Re: Watching drive read/write, knowing when copying is done

Posted: Sat Jun 29, 2024 10:55 pm
by bigpup

Drv-watch.sh uses dstat, which can be installed from the PPM/repo.

Not in BookwormPup64 10.0.6

It's PPM does not have it.

Have to get it by using Apt or Synaptic GUI Package Manager.


Re: Watching drive read/write, knowing when copying is done

Posted: Sat Jun 29, 2024 11:53 pm
by bigpup

Here is a pet package of drive-watch.

It provides a menu entry under menu ->Utility

Puts the drv-watch file in /usr/bin/

Tried to pick a generic icon for it to show in the menu entry, but icon may not be in all Puppy versions.

Still need to install dstat to use it.
.

drv-watch.pet
(872 Bytes) Downloaded 35 times

.
.