So I've been playing with data from my backup script. I've munged the
output of dd (when poked periodically by "kill -USR1") to a form where it
reveals how far into the disk the copy has progressed, so I can glean where
the slowdown is.
AFAICT, something else is happening (logrotate perhaps?) maybe 2/3 through
the copy, but it happens at a certain time, unrelated to the copy progress.
So in order to figure out _what_ time, I need to munge the time/block
numbers dd produces in a _different_ way, one where the time, given in
seconds-since-start, becomes an absolute time.
Getting the start time is straightforward -- use "ps -o lstart $dd_pid".
Fine, convert it to seconds with "date -d blahblah +%s", add it to the
offset, but then what? How do I convert it back?
-- -eben QebWenE01R@vTerYizUonI.nOetP http://royalty.no-ip.org:81 An ASCII character walks into a bar and orders a double. "Having a bad day?" asks the barman. "Yeah, I have a parity error," replies the ASCII chrcter. The barman says, "Yeah, I thought you looked a bit off." - Skud ----------------------------------------------------------------------- This list is provided as an unmoderated internet service by Networked Knowledge Systems (NKS). Views and opinions expressed in messages posted are those of the author and do not necessarily reflect the official policy or position of NKS or any of its employees.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:17:34 EDT