echo ::findleaks -v -d | mdb -p $pid | c++filt
However, it does not work: it seems that when mdb input is redirected,
it wraps lines at 80 characters and C++ names are not demangled
correctly.
Does setting the output width with the $w command work?
echo '300$w ; ::findleaks -v -d' |
Hello,
you can use :
{ echo \$G ; echo ::findleaks -dv ; } | mdb -p $pid -o nostop
$G = C++ symbol demangling enabled
best regards!
Valdemar
--
This message posted from opensolaris.org
On Mon, Dec 08, 2008 at 07:44:49AM -0800, Valdemar Moreira Pavesi wrote:
Hello,
you can use :
{ echo \$G ; echo ::findleaks -dv ; } | mdb -p $pid -o nostop
^
Please don't do this. '-o nostop' will lead to a very