Updated CORE DUMP (markdown)
parent
6be88beef3
commit
75c8d199d4
|
@ -16,7 +16,7 @@ $> /usr/local/eom/teleport/bin/tp_core -d start
|
|||
- `su` 以管理员身份登录,因为运行服务需要root权限;
|
||||
- `service teleport stop core` 停止teleport核心服务;
|
||||
- `ulimit -c unlimited` 临时打开系统的core dump功能,使得程序崩溃时记录核心转储数据;
|
||||
- `/usr/local/eom/teleport/bin/tp_core -d start` 运行core服务程序,但不是以守护进程的方式运行,因此程序不会再后台运行,可以在控制台上看到大量的日志输出,需要一直保留这个远程登录连接,不要退出。
|
||||
- `/usr/local/eom/teleport/bin/tp_core -d start` 运行core服务程序,但不是以守护进程的方式运行,因此程序不会在后台运行,可以在控制台上看到大量的日志输出,需要一直保留这个远程登录连接,不要退出。
|
||||
|
||||
然后像平常一样使用TELEPORT的各项功能,直到发生崩溃。此时应该能够看到控制台上最后输出的是(core dumped),然后在
|
||||
/usr/local/eom/teleport/bin 目录下应该能够看到core.xxxx文件,这个文件就是用来进行崩溃分析的core dump文件。
|
||||
|
|
Loading…
Reference in New Issue