LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 03-04-2016, 05:13 PM   #16
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169

No problem.

My memory fails rather frequently. :-)
 
Old 03-04-2016, 10:36 PM   #17
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
I discovered that you can tell when dd is finished when the CPU use drops to around 3%.

Quote:
Mem: 2843116K used, 164344K free, 20820K shrd, 221776K buff, 1655640K cached
CPU: 0% usr 51% sys 0% nic 0% idle 48% io 0% irq 0% sirq
Load average: 4.07 3.97 3.22 3/129 1122
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
20398 20397 root R 385m 13% 1 49% dd if=/dev/urandom of=/mnt/sde/somefile bs=400000000 count=1024
I have 2 cores.

Is the CPU use an average of the two cores ?

Last edited by Fixit7; 03-04-2016 at 10:38 PM.
 
Old 03-05-2016, 03:39 AM   #18
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,842

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
Quote:
I discovered that you can tell when dd is finished when the CPU use drops to around 3%.
That is simply not true. Probably, sometimes, occasionally it may happen, but in general it is not true at all.
If you want to know when it is completed just look at the command window (terminal) and your prompt will appear immediately (as soon as dd completed). If you want to see a progress bar use dcfldd instead of dd.

Quote:
Is the CPU use an average of the two cores ?
Sometimes yes, sometimes no, it also depends on what is running currently.
 
Old 03-05-2016, 04:01 AM   #19
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
It might be easier to use dcfldd which will show its status without having to periodically send kill commands.
 
Old 03-06-2016, 05:35 PM   #20
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
dcfldd is an executable and does not run.

It does not work with Wine either.

Version 8.24 of dd would also work if I could find it.


Quote:
df if=/dev/sda of=/dev/sdb status=progress
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Does this make sense? Linux_Kidd Linux - Networking 3 05-31-2013 08:03 AM
What sense does this make (Javascript)? resetreset Programming 3 12-04-2010 12:16 AM
This just doesn't make any sense! FreezEy Debian 8 04-18-2006 08:35 PM
How does this make sense? Trinity22 Linux - General 2 03-30-2005 12:45 AM
Ya sure this make sense Edward78 General 2 09-23-2003 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy

All times are GMT -5. The time now is 11:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration