특정 port를 사용하는 Process 확인하기

2015. 9. 2. 10:15IT/Redhat

[root@dcim works]# fuser -n tcp 5432
5432/tcp:             5906
[root@dcim works]# ps -ef|grep 5906
postgres  5906     1  0 Aug20 ?        00:00:39 /usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
postgres  5908  5906  0 Aug20 ?        00:00:00 postgres: logger process
postgres  5910  5906  0 Aug20 ?        00:00:19 postgres: writer process
postgres  5911  5906  0 Aug20 ?        00:00:09 postgres: wal writer process
postgres  5912  5906  0 Aug20 ?        00:00:01 postgres: autovacuum launcher process
postgres  5913  5906  0 Aug20 ?        00:01:51 postgres: stats collector process
postgres  6496  5906  0 Aug20 ?        00:00:56 postgres: root vdc_repos 127.0.0.1(62742) idle
postgres  6501  5906  0 Aug20 ?        00:00:49 postgres: root vdc_repos 127.0.0.1(62743) idle
postgres  6502  5906  0 Aug20 ?        00:01:22 postgres: root vdc_sdb 127.0.0.1(62744) idle
postgres  6503  5906  0 Aug20 ?        00:00:33 postgres: root vdc_repos 127.0.0.1(62745) idle
postgres  6504  5906  0 Aug20 ?        00:00:31 postgres: root vdc_repos 127.0.0.1(62746) idle
postgres  6735  5906  0 Aug20 ?        00:01:03 postgres: root vdc_sdb 127.0.0.1(62747) idle
postgres  6744  5906  0 Aug20 ?        00:02:37 postgres: root vdc_sdb 127.0.0.1(62748) idle
postgres  6745  5906  0 Aug20 ?        00:01:16 postgres: root vdc_repos 127.0.0.1(62749) idle
postgres  6746  5906  0 Aug20 ?        00:00:30 postgres: root vdc_sdb 127.0.0.1(62750) idle
postgres  6747  5906  0 Aug20 ?        00:00:30 postgres: root vdc_sdb 127.0.0.1(62751) idle
postgres  9440  5906  0 Aug20 ?        00:01:35 postgres: root vdc_repos 127.0.0.1(62758) idle
postgres 10088  5906  0 Aug20 ?        00:00:06 postgres: discovery vdc_repos 127.0.0.1(62831) idle
postgres 19501  5906  0 Aug27 ?        00:00:01 postgres: nsi_server vdc_repos 127.0.0.1(2933) idle
postgres 27601  5906  0 12:22 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(43423) idle
postgres 31211  5906  0 12:53 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44499) idle
postgres 31212  5906  0 12:53 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44500) idle
postgres 31216  5906  0 12:53 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44504) idle
postgres 31243  5906  0 12:53 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44516) idle
postgres 31244  5906  0 12:53 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44515) idle
postgres 31245  5906  0 12:53 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44518) idle
postgres 31321  5906  0 12:54 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44542) idle
postgres 31322  5906  0 12:54 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44543) idle
postgres 31323  5906  0 12:54 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44544) idle
postgres 31324  5906  0 12:54 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44545) idle
postgres 31327  5906  0 Aug25 ?        00:00:14 postgres: root vdc_repos 127.0.0.1(32469) idle
postgres 31422  5906  0 12:54 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44554) idle
postgres 31423  5906  0 12:54 ?        00:00:00 postgres: root vdc_sdb 127.0.0.1(44555) idle
postgres 31425  5906  0 12:54 ?        00:00:00 postgres: root vdc_sdb 127.0.0.1(44556) idle
postgres 31426  5906  0 12:54 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44557) idle
postgres 31427  5906  0 12:54 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44558) idle
postgres 31428  5906  0 12:54 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44560) idle
postgres 31519  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44577) idle
postgres 31520  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44578) idle
postgres 31521  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44579) idle
postgres 31522  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44580) idle
postgres 31523  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44581) idle
postgres 31524  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44582) idle
postgres 31525  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44583) idle
postgres 31526  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44584) idle
postgres 31527  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44585) idle
postgres 31528  5906  0 12:55 ?        00:00:00 postgres: root vdc_repos 127.0.0.1(44586) idle
root     31541 17338  0 12:55 pts/1    00:00:00 grep 5906
[root@dcim works]#

'IT > Redhat' 카테고리의 다른 글

hostname 변경  (1) 2015.09.02
vmstat  (0) 2015.09.02
YUM 설정 - 로컬ISO이미지 활용  (0) 2015.09.02
syslog  (0) 2015.09.02