본문 바로가기 메뉴 바로가기

blog.helperchoi.com

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

blog.helperchoi.com

검색하기 폼
  • 블로그 전체보기 (179)
    • System Story (144)
      • CentOS 5,6 (104)
      • CentOS 7 (14)
      • Ubuntu (4)
      • Suse Linux (0)
      • Windows (5)
      • Database (7)
      • Ansible (0)
      • Python3 (3)
      • Perl (0)
      • Go Language (0)
      • Project (1)
      • ETC (1)
      • Youtube - Tip4Linux (5)
    • Cloud Story (10)
      • Cloud Stack (6)
      • Open Stack (1)
      • Vmware vSphere (0)
      • KVM (0)
      • Xen Server (1)
      • Type2 Hypervisor (2)
    • Life Story (25)
      • 소소한 이야기 (8)
      • 담는 법 (3)
      • Review (8)
      • 꽁치네집 (5)
      • 6x6 (1)
  • 방명록

전체 글 (179)
JAVA thread Count

※ 제니퍼나 파로스 같은 JAVA 모니터 툴을 사용하지 않고 간단히 OS 상에서 JAVA Thread를 Count 할때 [ 실시간 모니터시 ] [root@TEST01_was ~]# while [ 0 ]; do ps -ef | grep -v "grep" | grep "java" | awk '{print $2}' | while read PID; do ps -eL | grep $PID | wc -l | while read imsi; do echo "$(date) / PID ${PID} count - $imsi"; done; done && echo "" && sleep 2; done [ 단순 확인시 1 ] [root@TEST01_was ~]# pstree | grep java |-cloud-daemonize--..

System Story/CentOS 5,6 2013. 11. 10. 20:24
iSCSI target Logout 및 삭제

※ 사용중인 iSCSI 로그인 정보를 삭제 [root@TEST02 ~]# [root@TEST02 ~]# [root@TEST02 ~]# iscsiadm -m node --targetname iqn.2013-09.192.168.137.10:storage.iscsi1 --logout Logging out of session [sid: 2, target: iqn.2013-09.192.168.137.10:storage.iscsi1, portal: 192.168.137.10,3260] Logout of [sid: 2, target: iqn.2013-09.192.168.137.10:storage.iscsi1, portal: 192.168.137.10,3260] successful. [root@TEST02 ~]# [r..

System Story/CentOS 5,6 2013. 11. 10. 20:22
iSCSI Target 서버 구성

1. 별도의 Storage 장비가 없을 경우 Linux 에서 간단히 iSCSI 형태의 Shared Volume을 제공 가능 [root@TEST01 ~]# [root@TEST01 ~]# yum list | grep scsi iscsi-initiator-utils.x86_64 6.2.0.872-13.el5 installed iscsi-initiator-utils.x86_64 6.2.0.872-16.el5 base lsscsi.x86_64 0.17-3.el5 base scsi-target-utils.x86_64 1.0.14-2.el5 base [root@TEST01 ~]# [root@TEST01 ~]# yum info scsi-target-utils.x86_64 Loaded plugins: fastestmir..

System Story/CentOS 5,6 2013. 11. 10. 20:20
iSCSI Initiator 설정 및 Target 마운트

※ Linux 에서 iSCSI 프로토콜을 이용하여 iSCSI Disk volume 마운트 [root@TEST02 ~]# [root@TEST02 ~]# chkconfig --list | grep iscsi iscsi 0:off 1:off 2:off 3:on 4:off 5:on 6:off iscsid 0:off 1:off 2:off 3:on 4:off 5:on 6:off [root@TEST02 ~]# [root@TEST02 ~]# service iscsi status iscsid (pid 1259) is running... [root@TEST02 ~]# [root@TEST02 ~]# service iscsid status iscsid (pid 1259) is running... [root@TEST02 ~]#..

System Story/CentOS 5,6 2013. 11. 10. 20:19
간단한 iptables sample 형식

※INPUT 정책과 관련하여 접근 허용을 원하는 Source IP를 제외한 나머지 SSH 접근에 대한 DROP 처리 service iptables start iptables -A INPUT -s 192.168.137.10 -p tcp --dport 22 -j ACCEPT iptables -A INPUT -p tcp --dport 22 -j DROP iptables -L

System Story/CentOS 5,6 2013. 11. 10. 20:16
IP Alias

Linux 시스템에서는 하나의 물리적인 Ethernet Device에 대해서 가상의 Device를 추가하여 할당 할 수 있으며 설정 과정은 아래와 같다. 1. ifconfig 명령을 통한 추가 [root@TEST02 ~]# [root@TEST02 ~]# ifconfig eth0:1 192.168.137.40 netmask 255.255.255.0 up [root@TEST02 ~]# 2. ip 명령을 통한 추가 [root@TEST02 ~]# [root@TEST02 ~]# ip addr add 192.168.137.40/24 dev eth0 [root@TEST02 ~]# 3. 추가된 Ethernet Alias 확인 [root@TEST02 ~]# ifconfig eth0 Link encap:Ethernet H..

System Story/CentOS 5,6 2013. 11. 10. 20:13
이전 1 ··· 24 25 26 27 28 29 30 다음
이전 다음
반응형
공지사항
  • ::::::: 이 블로그는? :⋯
최근에 올라온 글
  • Shell - 변수 타입 확인하기
  • Linux OS에서 CPU Archite⋯
  • PS4 Remote Play 테스트 영상
  • 파일을 지울 수 없어?! Ar⋯
최근에 달린 댓글
  • 네 도움이 되셨다니 다행입니다.
  • 덕분에 유용하게 잘썼습니다.⋯
  • 도움이 되셨다니 저도 기분좋⋯
  • 안녕하세요? 네 이해하시는⋯
Total
272,396
Today
28
Yesterday
30

Blog is powered by Tistory / Designed by Tistory

티스토리툴바