본문 바로가기
반응형

개발10

redis 실행방법 소개 , redis.conf 적용하여 실행, 포트변경 비밀번호 설정 실행방법 정리 가장간단한 redis 서버 실행하는법Redis 서버를 시작하는 가장 간단한 방법은 인수없이 Redis 서버 바이너리를 실행하는 것입니다.$ ./redis-server [28550] 01 Aug 19:29:28 # Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf' [28550] 01 Aug 19:29:28 * Server started, Redis version 2.2.12 [28550] 01 Aug 19:29:28 * The server is now ready to accept connections on port 63.. 2018. 11. 9.
리눅스 명령어로 단어별 카운트하여 내림차순으로 보여주기 cat 파일명 | sort | uniq -c | sort -r ex)cat thumbnail.text | sort | uniq -c | sort -r 추가로 다른파일에 저장하고 싶다면 cat 파일명 | sort | uniq -c | sort -r > 저장할파일명ex)cat thumbnail.text | sort | uniq -c | sort -r > thumbnail_sort_r.text 2017. 7. 26.
리눅스 중복문자열 세기 cat notAutopayment_14.csv | sort | uniq -c > duplicate_word_test2.csv cat duplicate_word_test2.csv | sort -r > duplicate_word_test3.csv 2017. 6. 27.
ORACLE 기본 Date 형식 변경하기 select * from v$nls_parameters; nls_parameters에 값들 보기 ALTER session set nls_date_format='YYYY-MM-DD HH24:MI:SS:FF3'; ALTER session set nls_timestamp_format='YYYY-MM-DD HH24:MI:SS:FF3'; date 형식 수정하기 원본출처 http://starplatina.tistory.com/entry/Oracle-date-format 2016. 3. 27.
[리눅스] 로그 파일 내용 지우기 [리눅스] 로그 파일 내용 지우기 cat /dev/null > 파일명 2016. 1. 21.
[리눅스] 쓰레드 개수 확인 덤프 뜨기, 힙덤프 뜨기 쓰레드 개수 확인 숫자는 PIdps -p 2311 -T | wc -l 쓰레드 덤프 뜨기 숫자는 PIdjstack -l 7624 > 2016-01-15-14.09.threaddump 힙덤프 뜨기 숫자는 PIdjmap -dump:format=b,file=heapdump.log.2015-01-15 12353 힙덤프 뜬후 프로그램 통해서 확인Java Memory Analyzer(MAT)Eclipse Memory Analyzer힙 덤프 파일의 크기가 너무 크기 때문에 MemoryAnalyzer.ini 파일을 열어 -Xmx2048m 등으로 메모리 용량을 늘려준다.10 Tips for using the Eclipse Memory AnalyzerEclipse Memory Analyzer TutorialClassload.. 2016. 1. 15.
반응형