[Nottingham] cp and a progress/working indicator

Jason Irwin jasonirwin73 at gmail.com
Fri Jun 14 09:05:35 UTC 2013


On 14/06/13 09:55, Andy White wrote:
>> Assuming this is linux, then:
But of course!

>> Once you get the pid of the cp, you can cat /proc/<pid>/io to show
>> raw io stats, and you can look at which fd in ls -l /proc/<pid>/fd is your
>> destination and cat the corresponding /proc/<pid>/fdinfo/N.
>> There's also the package [iotop].
Thanks for that...these copies are taking a long, long time (longer than
I'd expect).
I may splat them shortly and try this.
Or just use rsync!

-- 
╔═════════════╦══════════════════════════════════════════╗
║ Jason Irwin ║ OpenPGP (GPG/PGP) Public Key: 0xD0C592B1 ║
║             ║ Import from hkp://subkeys.pgp.net        ║
╚═════════════╩══════════════════════════════════════════╝



More information about the Nottingham mailing list