I am using cp
to copy data like so:
cp -r from_here to_there
When I do that, my computer freezes and unfreezes periodically. I have 4 CPUs installed and the HD is connected via SATA. from_here
and to_there
are both on the same file system so no network is used. The freezing is somehow dependent on the amount of files being copied. For a lot of files it is even impossible to sign in on the machine via ssh.
Is there a way to check why my OS freezes and unfreezes? Can I maybe tell cp
to take it easy somehow?
nice cp [arguments]
(for CPU) orionice cp [arguments]
(for disk IO, on some systems), but that won't eliminate the root of your problems I guess (more info)ionice cp -r from_here to_there
i get:none: prio 4 ionice: cannot parse number 'cp'
. Fornice cp -r 24 24m
it simply starts copying and I do not get any feedback...