[OSM-dev] osm2pgsql, planet-110126.osm, doubts

Juan Lucas Domínguez Rubio juan_lucas_dr at yahoo.com
Wed Feb 9 13:15:52 GMT 2011


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 <emj at kth.se> wrote:

> From: Erik Johansson <emj at kth.se>
> Subject: Re: [OSM-dev] osm2pgsql, planet-110126.osm, doubts
> To: "IgnacioZ" <zignacio at gmail.com>
> Cc: "Juan Lucas Domínguez Rubio" <juan_lucas_dr at yahoo.com>, dev at openstreetmap.org
> Date: Wednesday, February 9, 2011, 1:11 PM
> On Wed, Feb 9, 2011 at 12:59 PM,
> IgnacioZ <zignacio at gmail.com>
> 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
> 


      



More information about the dev mailing list