전체 글(64)
-
[Command]Service
[현재 사용중인 서비스 리스트 확인 방법] # sc query | findstr SERVICE_NAME | findstr [서비스 명] ※ 디폴트 설정은 사용중인 서비스 리스트만 나오게 설정되어 있다. [현재 사용중이 아닌 서비스 리스트 확인 방법] # sc query state=inactive | findstr SERVICE_NAME | findstr [서비스 명] 명령어가 아닌 services.msc 창에서 동작 > 목록리스트 내보내기 버튼으로도 내보낼수 있다.
2021.01.12 -
[Command] Veritas infoscale Command
[상태조회] # hastatus -sum # vxclustadm nidmap # vxdctl -c mode # gabconfig -a [디스크 상태 확인] # vxdisklist # vxprintg -g FILEdb -htq [네트워크 확인] # lltconfig -a list [sync 중인 작업 리스트 확인] #vxtask -l list [우선권 설정] # vxclustadm set master [서버hostname] [이중화클러스터 시작/중지] # hastart # hastop -local
2021.01.11 -
[Command] Steeleye Command
[서비스 정상 확인] # lcdstatus -q [이중화 클러스터 시작/중지] # lkstart # lkstop [Fail-Over] # perform_action -t [LISNER 명] -a restore ※ lcdstatus -q명령어로 확인한 LISNER를 입력 후 목적지 서버에서 명령어 수행
2021.01.11 -
[Command]특정 파일 삭제 Command
[명령어] # find [디렉토리] -name [파일명] -mtime +[일] -delete # find [디렉토리] -name [파일명] -mtime +[일] -exec rm -f {} \; # find [디렉토리] -name [파일명] -mtime +[일] | xargs rm -f [(응용)현재 디렉토리 365일 이상 된 파일 삭제] - 대상 확인 # find ./ -mtime +366 - 파일 삭제 # find ./ -mtime +366 -exec rm -f {} \; [(응용)현재 디렉토리 사이즈 0 파일 삭제] - 대상 확인 # find ./ -size 0 - 파일 삭제 # find ./ -size 0 -exec rm -f {} \;
2021.01.08 -
[Command] net use
[네트워크 공유 확인] # net use [네트워크 공유 연결] # net use [연결하고자하는 공유 경로] /user:[ID] ex) net use \\10.10.10.10/test /user:test [네트워크 공유 끊기] # net use [연결 끊고자 하는 공유 경로] /delete ex) net use \\10.10.10.10/test /delete [네트워크 공유 전체 끊기] # net use * /delete
2021.01.08 -
[Command]iLO 재시작
[iLO 재시작] # ssh 접속 # hpiLO-> cd /map1 # reset ※ iLO 비정상 동작 및 iLO만 재시작 하고자 할때 사용
2021.01.08