On 04/22/2013 03:06 PM, Richard W.M. Jones wrote:
One trick I've used in the past is to core dump the process
(set 'ulimit -c unlimited' before startx, then kill -SEGV $clockpid),
and parse it with some simple command line tools.
You can use GDB for that: gdb -p $clockpid followed by
(gdb) gcore /tmp/clock-applet-core
Saved corefile /tmp/clock-applet-core
> sort < core | uniq -c | sort -nr
Nice idiom---I also discovered it some time ago and I find myself using
it regularly.
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel