How to see read and write data stream?

New to Debian (Or Linux in general)? Ask your questions here!

How to see read and write data stream?

Postby hack3rcon » 2020-11-27 09:54

Hello,
When I use "dd" command and forgot to use "pv" or "status=progress" parameter, then how can I see the status? Any command to see read and write stream?

Thank you.
hack3rcon
 
Posts: 507
Joined: 2015-02-16 09:54

Re: How to see read and write data stream?

Postby CwF » 2020-11-27 15:07

However you do it, it slows you down. You could use an external timer of some kind?
I do many dd like, not dd, operations spawned from a Thunar custom actions and usually put up a generic zenity dialog that states 'working on it'. They all lie, or slow you down! A funnier and more irritating reality is once you mix in hardware specifics the software often says 'done' even tho the drive is still working on it. Write out gigs to a 'smr' drive and you'll see what I mean!
CwF
 
Posts: 872
Joined: 2018-06-20 15:16

Re: How to see read and write data stream?

Postby Head_on_a_Stick » 2020-11-27 17:03

Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13041
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: How to see read and write data stream?

Postby reinob » 2020-11-27 20:12

RTFM...

$ man dd
->
Sending a USR1 signal to a running 'dd' process makes it print I/O statistics to standard error and then resume copying.


But why would one care to read the manual..
reinob
 
Posts: 865
Joined: 2014-06-30 11:42

Re: How to see read and write data stream?

Postby Head_on_a_Stick » 2020-11-28 12:47

For the OP:
Code: Select all
# pkill -usr1 -x dd
Black Lives Matter

Debian buster-backports ISO image: for new hardware support
User avatar
Head_on_a_Stick
 
Posts: 13041
Joined: 2014-06-01 17:46
Location: /dev/chair


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 19 guests

fashionable