![](http://i1.daumcdn.net/thumb/C148x148/?fname=https://blog.kakaocdn.net/dn/bB88cm/btsFp9qEIc9/bisiujFu5XgeWyyAzWQEjK/img.jpg)
한 개의 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
- jeus
- 글또
- 커밋메시지
- Comparable
- Spring
- Comparator
- Java
- 코드트리
- script
- 알고리즘
- BFS
- thymeleaf
- 온라인강의
- @exceptionahandler
- 자바
- 챗봇
- RASA
- BufferedReader
- 백준
- 유데미
- dxdy
- 재기동
- final 사용예시
- 전자정부프레임워크
- NLU
- JWT
- 객체정렬
- springboot
- 나만의챗봇
- BufferedWriter
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |