• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

aboutgreenplumcollectiontool

mysql 搞代码 4年前 (2022-01-09) 18次浏览 已收录 0个评论

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 us本文来源gao@daima#com搞(%代@#码@网2ing 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-


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:aboutgreenplumcollectiontool
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址