最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 科技 - 知识百科 - 正文

aboutgreenplumcollectiontool

来源:动视网 责编:小采 时间:2020-11-09 15:05:23
文档

aboutgreenplumcollectiontool

aboutgreenplumcollectiontool: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/
推荐度:
导读aboutgreenplumcollectiontool: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/


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 /lib/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, 7000}) = 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 /lib/libc.so.6
Saved corefile core.3653
-EOF-

文档

aboutgreenplumcollectiontool

aboutgreenplumcollectiontool: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/
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top