aboutgreenplumcollectiontool

php中文网
发布: 2016-06-07 15:57:08
原创
1493人浏览过

three collection tool for greenplum:pstack、strace、gcore. [gpadmin@gtlions5913 ~]$ ps -ef | grep postgres|grep data|grep master|grep -v grep gpadmin 3653 1 0 May21 ? 00:00:00 /usr/local/greenplum-db-4.2.5.2/bin/postgres -D /data/master/gps

three collection tool for greenplum:pstack、strace、gcore.

[gpadmin@gtlions5913 ~]$ ps -ef | grep postgres|grep data|grep master|grep -v grep
gpadmin 3653 1 0 May21 ? 00:00:00 /usr/local/greenplum-db-4.2.5.2/bin/postgres -D /data/master/gpseg-1 -p 5432 -b 1 -z 2 --silent-mode=true -i -M master -C -1 -x 0 -E
[gpadmin@gtlions5913 ~]$ pstack 3653
#0 0x00000034104ce183 in __select_nocancel () from /lib64/libc.so.6
#1 0x000000000087a63b in PostmasterMain ()
#2 0x000000000077ff3a in main ()
Copy the output to a file,or usage: pstack 3653 >pstack-gp.txt .


[gpadmin@gtlions5913 ~]$ strace -p 3653
Process 3653 attached - interrupt to quit
select(5, [3 4], NULL, NULL, {7, 897000}) = 0 (Timeout)
rt_sigprocmask(SIG_SETMASK, ~[ILL TRAP ABRT BUS FPE SEGV CONT SYS RTMIN RT_1], NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(5, [3 4], NULL, NULL, {60, 0}
Process 3653 detached
You must hole for at least 30 seconds and use "ctrl+c" to terminate. Copy the output to a file.


[gpadmin@gtlions5913 ~]$ gcore 3653
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "", line 27, in ?
ImportError: No module named os.path
[Thread debugging using libthread_db enabled]
warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffea126000
0x00000034104ce183 in __select_nocancel () from /lib64/libc.so.6
Saved corefile core.3653
-EOF-
最佳 Windows 性能的顶级免费优化软件
最佳 Windows 性能的顶级免费优化软件

每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。

下载
来源:php中文网
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn
最新问题
开源免费商场系统广告
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号