Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@svp-pgpool-03 ~]# ss -tenp | grep 63458
- ESTAB 0 0 10.69.64.118:63458 10.69.64.164:5432 users:(("pgpool",27928,8)) ino:165249694 sk:ffff8803d5f64b00 <->
- [root@svp-pgpool-03 ~]# s^C
- [root@svp-pgpool-03 ~]# ss -tenp | grep 27928
- ESTAB 0 0 10.69.64.118:5432 10.69.76.184:13159 timer:(keepalive,5min17sec,0) users:(("pgpool",27928,7)) ino:165244851 sk:ffff8803d5f62580 <->
- ESTAB 0 0 10.69.64.118:19044 10.69.64.235:5432 users:(("pgpool",27928,12)) ino:165249697 sk:ffff8800acacda00 <->
- ESTAB 0 0 10.69.64.118:63458 10.69.64.164:5432 users:(("pgpool",27928,8)) ino:165249694 sk:ffff8803d5f64b00 <->
- [root@svp-pgpool-03 ~]# pcp_proc_info --verbose -U postgres 27928
- Password:
- Database : svp
- Username : svp
- Start time : 2017-04-13 01:00:26
- Creation time: 2017-04-13 01:02:03
- Major : 3
- Minor : 0
- Counter : 1
- Backend PID : 18216
- Connected : 1
- Database : svp
- Username : svp
- Start time : 2017-04-13 01:00:26
- Creation time: 2017-04-13 01:02:03
- Major : 3
- Minor : 0
- Counter : 1
- Backend PID : 18306
- Connected : 1
- [root@svp-pgpool-03 ~]# ls /proc/27928/fd -la
- total 0
- dr-x------ 2 root root 0 Apr 13 09:54 .
- dr-xr-xr-x 8 root root 0 Apr 13 01:00 ..
- lr-x------ 1 root root 64 Apr 13 09:54 0 -> /dev/null
- lrwx------ 1 root root 64 Apr 13 09:54 1 -> socket:[151701582]
- lrwx------ 1 root root 64 Apr 13 09:54 10 -> socket:[151693058]
- lrwx------ 1 root root 64 Apr 13 09:54 11 -> socket:[165052505]
- lrwx------ 1 root root 64 Apr 13 09:54 12 -> socket:[165249697]
- lrwx------ 1 root root 64 Apr 13 09:54 2 -> socket:[151701582]
- lr-x------ 1 root root 64 Apr 13 09:54 3 -> /etc/pgpool-II/pool_passwd
- lrwx------ 1 root root 64 Apr 13 09:54 4 -> socket:[151693048]
- lrwx------ 1 root root 64 Apr 13 09:54 5 -> socket:[151693053]
- lrwx------ 1 root root 64 Apr 13 09:54 6 -> socket:[151693054]
- lrwx------ 1 root root 64 Apr 13 09:54 7 -> socket:[165244851]
- lrwx------ 1 root root 64 Apr 13 09:54 8 -> socket:[165249694]
- lrwx------ 1 root root 64 Apr 13 09:54 9 -> socket:[151693056]
- You have new mail in /var/spool/mail/root
- [root@svp-pgpool-03 ~]# strace -p 27928
- Process 27928 attached
- select(13, [7 8 12], [], [7 8 12], {0, 955408}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 1 (in [7], left {0, 633317})
- select(8, [7], NULL, [7], NULL) = 1 (in [7])
- read(7, "Q\0\0\0\rSELECT 1\0", 1024) = 14
- stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1502, ...}) = 0
- sendto(11, "<134>Apr 13 10:12:36 [27928]: [8"..., 129, MSG_NOSIGNAL, NULL, 0) = 129
- write(12, "Q\0\0\0\rSELECT 1\0", 14) = 14
- select(13, [12], NULL, [12], {30, 0}) = 1 (in [12], left {29, 999593})
- select(13, [12], NULL, [12], NULL) = 1 (in [12])
- read(12, "T\0\0\0!\0\1?column?\0\0\0\0\0\0\0\0\0\0\27\0\4\377\377\377\377"..., 1024) = 66
- write(7, "T\0\0\0!\0\1?column?\0\0\0\0\0\0\0\0\0\0\27\0\4\377\377\377\377"..., 34) = 34
- write(7, "D\0\0\0\v\0\1\0\0\0\0011C\0\0\0\rSELECT 1\0", 26) = 26
- rt_sigprocmask(SIG_SETMASK, ~[ILL TRAP ABRT BUS FPE SEGV CONT SYS RTMIN RT_1], [], 8) = 0
- rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
- write(7, "Z\0\0\0\5I", 6) = 6
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 1 (in [7], left {0, 998241})
- select(8, [7], NULL, [7], NULL) = 1 (in [7])
- read(7, "P\0\0\0o\0SELECT \"inf_sec_module_set"..., 1024) = 149
- stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1502, ...}) = 0
- sendto(11, "<134>Apr 13 10:12:36 [27928]: [8"..., 231, MSG_NOSIGNAL, NULL, 0) = 231
- write(12, "P\0\0\0o\0SELECT \"inf_sec_module_set"..., 112) = 112
- stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1502, ...}) = 0
- sendto(11, "<134>Apr 13 10:12:36 [27928]: [8"..., 130, MSG_NOSIGNAL, NULL, 0) = 130
- write(12, "B\0\0\0\16\0\0\0\0\0\0\0\1\0\0", 15) = 15
- stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1502, ...}) = 0
- sendto(11, "<134>Apr 13 10:12:36 [27928]: [8"..., 130, MSG_NOSIGNAL, NULL, 0) = 130
- write(12, "D\0\0\0\6P\0", 7) = 7
- stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=1502, ...}) = 0
- sendto(11, "<134>Apr 13 10:12:36 [27928]: [8"..., 233, MSG_NOSIGNAL, NULL, 0) = 233
- write(12, "E\0\0\0\t\0\0\0\0\0", 10) = 10
- write(12, "H\0\0\0\4", 5) = 5
- select(13, [12], NULL, [12], NULL) = 1 (in [12])
- read(12, "1\0\0\0\0042\0\0\0\4T\0\0\0003\0\2code\0\0\0q\23\0\3\0\0\4\23"..., 1024) = 995
- write(7, "1\0\0\0\4", 5) = 5
- write(7, "2\0\0\0\4", 5) = 5
- write(7, "T\0\0\0003\0\2code\0\0\0q\23\0\3\0\0\4\23\377\377\0\0\0006\0\0va"..., 52) = 52
- write(7, "D\0\0\0006\0\2\0\0\0'session.consecutive_f"..., 933) = 933
- write(12, "S\0\0\0\4", 5) = 5
- select(13, [12], NULL, [12], NULL) = 1 (in [12])
- read(12, "Z\0\0\0\5I", 1024) = 6
- rt_sigprocmask(SIG_SETMASK, ~[ILL TRAP ABRT BUS FPE SEGV CONT SYS RTMIN RT_1], [], 8) = 0
- rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
- write(7, "Z\0\0\0\5I", 6) = 6
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}) = 0 (Timeout)
- select(13, [7 8 12], [], [7 8 12], {1, 0}^CProcess 27928 detached
- <detached ...>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement