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

Erik Johansson emj at kth.se
Wed Feb 9 12:11:29 GMT 2011


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