Watching drive read/write, knowing when copying is done

Moderator: Forum moderators

Post Reply
User avatar
wizard
Posts: 1984
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2648 times
Been thanked: 692 times

Watching drive read/write, knowing when copying is done

Post 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 630 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

Attachments
drv-watch.sh.gz
Remove fake .gz before use
(611 Bytes) Downloaded 25 times

Big pile of OLD computers

User avatar
Flash
Moderator
Posts: 978
Joined: Tue Dec 03, 2019 3:13 pm
Location: Arizona, U.S.
Has thanked: 51 times
Been thanked: 127 times

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

Post by Flash »

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

Chaos coordinator :?
User avatar
wizard
Posts: 1984
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2648 times
Been thanked: 692 times

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

Post 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

Big pile of OLD computers

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

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

Post 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.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6993
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 911 times
Been thanked: 1528 times

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

Post 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 32 times

.
.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

Post Reply

Return to “Utility”