From cfb3eaf81d04a70a038bf57256cd20594b7a83db Mon Sep 17 00:00:00 2001 From: Ali Vakilzade Date: Sun, 7 Jan 2018 23:02:47 +0330 Subject: [PATCH 1/3] check dd progress with kill --- pages/linux/dd.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/linux/dd.md b/pages/linux/dd.md index 49dff8443a..1e4343b5d5 100644 --- a/pages/linux/dd.md +++ b/pages/linux/dd.md @@ -17,3 +17,7 @@ - Benchmark the write performance of a disk: `dd if=/dev/zero of={{file_1GB}} bs=1024 count=1000000` + +- Check dd progress (Run this command in another shell then check dd output) + +`kill -USR1 $(pgrep ^dd)` From 40985caeea28c2c1717acad78929681ed0413522 Mon Sep 17 00:00:00 2001 From: Ali Vakilzade Date: Sun, 7 Jan 2018 23:06:09 +0330 Subject: [PATCH 2/3] Update dd.md --- pages/linux/dd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dd.md b/pages/linux/dd.md index 1e4343b5d5..9fc909bd5c 100644 --- a/pages/linux/dd.md +++ b/pages/linux/dd.md @@ -18,6 +18,6 @@ `dd if=/dev/zero of={{file_1GB}} bs=1024 count=1000000` -- Check dd progress (Run this command in another shell then check dd output) +- Check dd progress (Run this command in another shell then check dd output): `kill -USR1 $(pgrep ^dd)` From 224fbb045c02b305006f359e12dacec684b527bf Mon Sep 17 00:00:00 2001 From: Ali Vakilzade Date: Mon, 8 Jan 2018 10:12:00 +0330 Subject: [PATCH 3/3] update dd description --- pages/linux/dd.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/linux/dd.md b/pages/linux/dd.md index 9fc909bd5c..6ac1cd826a 100644 --- a/pages/linux/dd.md +++ b/pages/linux/dd.md @@ -18,6 +18,6 @@ `dd if=/dev/zero of={{file_1GB}} bs=1024 count=1000000` -- Check dd progress (Run this command in another shell then check dd output): +- Check progress of an ongoing dd operation (Run this command from another shell): `kill -USR1 $(pgrep ^dd)`