Thank you all, I have been able to redirect the output with: sudo strace -ewrite -s 200 -p 1838 2>&1
The latest output message is now: Processing: Node(947628k) Way(79957k) Relation(740k) I presume 'Relation' needs to reach about (840k) according to the OSM stats, so now I can make a better estimation of the remaining time. Thanks Juan Lucas --- On Wed, 2/9/11, Erik Johansson <[email protected]> wrote: > From: Erik Johansson <[email protected]> > Subject: Re: [OSM-dev] osm2pgsql, planet-110126.osm, doubts > To: "IgnacioZ" <[email protected]> > Cc: "Juan Lucas Domínguez Rubio" <[email protected]>, > [email protected] > Date: Wednesday, February 9, 2011, 1:11 PM > On Wed, Feb 9, 2011 at 12:59 PM, > IgnacioZ <[email protected]> > wrote: > > Hi!, I have been in a similar situation recently. > > I have been able to redirect the output using gdb as > it is mentioned here: > > http://stackoverflow.com/questions/593724/redirect-stderr-stdout-of-a-process-after-its-been-started-using-command-line > > > Or download this one which does the GDB magic for you: > http://www.isi.edu/~yuri/dupx/ > > But I still like this one, because you don't really need > the fds.. > strace -ewrite -s 200 -p $PID 2>&1 | grep "write(1" > > -- > /emj > _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

