게시물 32건
   
[스틸아이] steeleye-runit 확인 및 중지하기
글쓴이 : 최장섭 날짜 : 2015-05-26 (화) 17:04 조회 : 2091

+ 스틸아이를 #lkstop 명령어로 중지하였을 때 스틸아이 서비스 프로세스들은 내려가지만, 스틸아이의 슈퍼 데몬은 존재함. 해당 데몬들은 스틸아이 복구를 위한 프로세스 들이며 확인 과 중지 하는 방법은 아래와 같다.

[root@Primary ~]# ps -auxf | grep -i lifekeeper
Warning: bad syntax, perhaps a bogus '-'? See /usr/share/doc/procps-3.2.8/FAQ
root       2065  0.0  0.0 103252   784 pts/0    S+   15:01   0:00          \_ grep -i lifekeeper
root       1725  0.0  0.1 108464  1692 ?        S    15:01   0:00  \_ /bin/bash /etc/redhat-lsb/lsb_start_daemon /opt/LifeKeeper/sbin/runsvdir -P /opt/LifeKe........................................................................................................................................................
root       1732  0.0  0.1 108200  1304 ?        S    15:01   0:00      \_ /bin/bash -c ulimit -S -c 0 >/dev/null 2>&1 ; /opt/LifeKeeper/sbin/runsvdir -P /opt.............................................................................................................................................................
root       1733  0.0  0.0   4088   444 ?        S    15:01   0:00          \_ /opt/LifeKeeper/sbin/runsvdir -P /opt/LifeKeeper/etc/service log: runit just st....................................................................................................................
root       1735  0.0  0.0   3936   376 ?        Ss   15:01   0:00              \_ /opt/LifeKeeper/sbin/runsv lk_logmgr
root       1746  0.0  0.1  24568  1352 ?        S    15:01   0:00              |   \_ /opt/LifeKeeper/bin/lk_logmgr -l/opt/LifeKeeper/out -d/etc/default/Life
root       1736  0.0  0.0   3936   372 ?        Ss   15:01   0:00              \_ /opt/LifeKeeper/sbin/runsv lcm
root       1737  0.0  0.0   3936   368 ?        Ss   15:01   0:00              \_ /opt/LifeKeeper/sbin/runsv lkcheck
root       1738  0.0  0.0   3936   368 ?        Ss   15:01   0:00              \_ /opt/LifeKeeper/sbin/runsv ttymonlcm
root       1739  0.0  0.0   3936   368 ?        Ss   15:01   0:00              \_ /opt/LifeKeeper/sbin/runsv steeleye-lighttpd
root       1740  0.0  0.0   3936   372 ?        Ss   15:01   0:00              \_ /opt/LifeKeeper/sbin/runsv lkscsid
root       1741  0.0  0.0   3936   372 ?        Ss   15:01   0:00              \_ /opt/LifeKeeper/sbin/runsv lkguiserver
root       1742  0.0  0.0   3936   372 ?        Ss   15:01   0:00              \_ /opt/LifeKeeper/sbin/runsv lcd
root       1743  0.0  0.0   3936   368 ?        Ss   15:01   0:00              \_ /opt/LifeKeeper/sbin/runsv lkvmhad

[root@Primary init.d]# ./steeleye-runit stop
Shutting down runit
Waiting for services to stop...
ok: down: /opt/LifeKeeper/etc/service/lcd: 88s
ok: down: /opt/LifeKeeper/etc/service/lcm: 88s
ok: down: /opt/LifeKeeper/etc/service/lkcheck: 88s
ok: down: /opt/LifeKeeper/etc/service/lkguiserver: 88s
ok: down: /opt/LifeKeeper/etc/service/lkscsid: 88s
ok: down: /opt/LifeKeeper/etc/service/lkvmhad: 88s
ok: down: /opt/LifeKeeper/etc/service/steeleye-lighttpd: 88s
ok: down: /opt/LifeKeeper/etc/service/ttymonlcm: 88s
ok: down: /opt/LifeKeeper/etc/service/lk_logmgr: 0s, normally up

[root@Primary init.d]# ps auxf | grep -i lifekeeper
root       2113  0.0  0.0 103252   780 pts/0    S+   15:13   0:00          \_ grep -i lifekeeper



이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com