[PLUG] debug running process
Paul Heinlein
heinlein at madboa.com
Thu Sep 2 17:28:12 UTC 2010
On Thu, 2 Sep 2010, Daniel B. Herrington wrote:
> Well, the process itself will be multi-threaded. That's where the
> vendor thinks things are going wrong, and the hope is getting the
> strace output on the processes will allow us to catch an issue as it
> happens.
>
> Is there a big performance hit in running strace (this is SLES 10)
> and dumping to a file? It might be easier just to use -o and
> preventively write all the output beforehand?
I usually dump to a file rather than stdout, just because the spew
comes at such a high rate. Unless the machine's CPU or I/O subsystem
is already overloaded, you shouldn't have much trouble writing to a
file. Keep an eye on file size -- strace dumps can be large -- and you
should be just fine.
--
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/
More information about the PLUG
mailing list