본문 바로가기

전체 글

게임에서 마케팅 용어 UV (Unique Visitors) 순방문자 수 (중복제거) 한번이라도 접속을 한 유저. 한번 접속 후 여러 페이지를 보더라도 1로 인식함 PV (Page View) 중복 방문자를 포함하는 총 방문자가 읽어들인 페이지 뷰 DAU (Daily Active User) 하루동안 게임을 플레이 한 유저 수 (중복제거) MAU (Monthly Active User) 한달동안의 DAU의 합산 CCU (ConCurrent User) 동시접속자 ACCU (Average Con-Current User) 평균 동시접속자 PCCU (Peak Con-Current User) 최고 동시접속자 BU (Buying User) = PU (Paying User) 구매자 더보기
System monitoring tool in linux 성능 테스트나 장애시 시스템 점검 또는 모니터링 할 때 살펴 봐야 하는 것 CPU > DISK > NETWORK > MEMORY (병목이 자주 발생하는 순) sysstat라는 툴이 모듈이 있어야 기본적인 모니터링 툴이 설치 된다 tool의 종류 sar 시스템 작업 정보를 수집, 보고, 저장하는 툴 sar -u CPU 사용륭 확인 sar -q Load Average 확인 sar -r 메모리 사용 현황 확인 sar -W 스왑 발생상황 확인 vmstat (Report virtual memory statistics) 시스템 대부분의 정보 구분 항목 내용 Procs r 실행하기 위해 대기(wating)하고 있는 프로세스 수 b 중단 불가능한 슬립(uninterruptible sleep) 상태에 있는 프로세스 수 .. 더보기
데이터베이스 / 테이블 용량 알아보는 쿼리 in MySQL -- 데이터베이스 용량 SELECT s.schema_name, CONCAT(IFNULL(ROUND((SUM(t.data_length)+SUM(t.index_length))/1024/1024,2),0.00),"Mb") total_size, CONCAT(IFNULL(ROUND(((SUM(t.data_length)+SUM(t.index_length))-SUM(t.data_free))/1024/1024,2),0.00),"Mb") data_used, CONCAT(IFNULL(ROUND(SUM(data_free)/1024/1024,2),0.00),"Mb") data_free, IFNULL(ROUND((((SUM(t.data_length)+SUM(t.index_length))-SUM(t.data_free))/((SU.. 더보기
MSSQL 용량 부족 시 용량 확보 방법 1. 데이터베이스 사이즈 정보 확인 exec sp_helpfile 2. .mdf 파일 사이즈 줄이기 DBCC SHRINKDATABASE(file_name) 3. .ldf 파일 사이즈 줄이기 DBCC SHRINKFILE(file_name, size(MB)) - 로그 자르기 (database option -> simple로 먼저 변환해야함)BACKUP LOG WITH TRUNCATE_ONLY shrink시 data loss 문제에 관련 링크 http://blog.sqlauthority.com/2009/01/25/sql-server-shrinking-ndf-and-mdf-files-a-safe-operation/ 더보기
vmstat, iostat 한국 IBM http://www-903.ibm.com/kr/techinfo/pseries/aixnl124.html#Footnote_29 더보기
^M: bad interpreter: no such a directory PROBLEMS 윈도우에서 작성하고 저장한 Text based 파일을 리눅스에서 실행 시켰을때 포맷 형식이 달라서 생기는 오류 이다. SOLUTIONS vi 편집기로 해당 파일을 열어서 :set fileformat=unix 라고 입력 후 저장 종료 한다. 더보기
ERROR: failed to open PAM security session This issue is related to PAM not authenticating the users correctly anymore because of a few possible modifications, or something got screwed up on your server. If you get this error you may wan to try and see if the user that is trying to run that cron exists under /etc/shadow file. As Andrew pointed up in one of the comments you can also get this error if the cron user’s account has expired so.. 더보기
Perl vs Python – The Final Battle 출처: http://www.revolves.net/2009/11/29/perl-vs-python-the-final-battle/ on November 29, 2009 You might have already seen a lot of Perl vs Python stuff. So I’m telling you in advance that I’ve too have read them all, and what you’re going to read here would be completely different than what you already have. Firstly, let me start by saying that Perl and Python are great languages. But they have t.. 더보기