Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在生成大量 .core 文件的 linux 机器上运行负载测试。我的问题是如何分析这些。GDB 是一个选项,但这是否意味着从 GDB 内部开始负载测试。有没有其他可以使用的工具?
hopefully you are running your debug version of the binary, then after a core dump, you can just do
$ gdb <Your_binary> <core_dump_file> (gdb) bt
then you can examine the stack trace.