한 개의 java 파일을 이용하여 구글과 통신해보기 1. TestCon.java 코드 작성 import java.net.Socket; public class TestCon{ public static void main(String[] args) throws Exception{ TestCon testCon = new TestCon(); System.out.println(testCon.check(args[0], Integer.parseInt(args[1]))); } public boolean check(String host, int port){ // 통신 실패시 false 출력 boolean result = false; try { (new Socket(host, port)).close(); // 통신 성공시 ..
#!/bin/ksh OWN_ID="유저명" PRO_NAME="jeus" if [ `whoami` != ${OWN_ID} ] then echo "Change User to ${OWN_ID}" exit fi set -A WAS_LIST1 \ jeus.server.JeusBootStrapper \ D컨테이너명 set -A WAS_LIST2 \ Admin \ "컨테이너명 WAS" #### WAS Status check #### echo echo " ----------- WAS Process Check Start -------------- " i=0 for n in ${WAS_LIST1[@]} do PS_CNT=`ps -ef | awk '{ if( $1 == "'"${OWN_ID}"'" ) print }' | g..
#!/bin/sh PRO_NAME="websphere" set -A WAS_LIST1 \ Container명1 \ Container명2 \ Container명3 \ Container명4 \ Container명5 set -A WAS_LIST2 \ "Maganer" \ "Container명1 WAS" \ "Container명2 WAS" \ "Container명3 WAS" \ "Container명4 WAS" echo echo "------------ WAS Process Check Start ------------" i=0 for n in ${WAS_LIST1[@]} do PS_CNT= `ps -ef | awk '{ AA ="whoami"; AA | getline BB; close(AA); if($1 == B..
- Total
- Today
- Yesterday
- BufferedWriter
- 항해99
- BFS
- 챗봇
- RASA
- 백준
- 나만의챗봇
- BufferedReader
- springboot
- 취업리부트코스
- 유데미
- 글또
- thymeleaf
- 객체정렬
- 재기동
- 코드트리
- JWT
- 전자정부프레임워크
- Comparator
- dxdy
- script
- 자바
- Java
- 코딩테스트
- 회고록
- Spring
- 개발자취준
- NLU
- 취리코
- Comparable
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |