LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-07-2011, 04:37 AM   #1
just1newbie
Member
 
Registered: Jul 2009
Location: romania,iasi
Distribution: slackware 13.0
Posts: 46

Rep: Reputation: 15
time to execute command


hi !

i have one hdd with bad's .i have give the command :

dd if=/dev/zero of=/dev/hda1

in a terminal nimblex(live). my machine is dell410 ,1,6G, 768 ram,hdd 60G.

it past allready 24 hours ,so i supose it's a problem someweare.

any ideea for how much time it's normaly need in this situation?

thank's

any sugestions?
 
Old 07-07-2011, 04:45 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Send USR1 signal to "dd" process to get statistics.
Code:
kill -USR1 pid_of_dd_here
 
1 members found this post helpful.
Old 07-07-2011, 05:13 AM   #3
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
I suppose /dev/sda1 is not mounted, right?
And you checked your system is not heavily swapping memory, or having high processing load?
Also, the iostat command can give you a view of the programs doing io activity. Just install the program with your package manager, and run it with no option.
One thing that can make disk io slow is if your io size is not what your hardware prefers.

I usually use this dd option to speed things up:
Code:
bs=1M
And yes, your command should take less than an hour to run under normal condition.
 
1 members found this post helpful.
  


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
Execute code for n time nmartins Programming 2 04-23-2011 01:28 PM
script to execute a command based on the last modified time of a folder midadala Linux - Newbie 1 10-19-2010 07:28 AM
Only execute 2nd command on successufl execution of 1st command kregec05 Linux - Newbie 3 08-19-2009 10:29 AM
Execute a command , reboot and then execute another command ganeshp@moris.org Linux - Newbie 3 12-03-2008 12:51 AM
remote command execute telnet with 1 command MPowers Linux - Networking 2 06-30-2005 06:31 AM

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

All times are GMT -5. The time now is 11:33 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