"동시접속자 수 확인"의 두 판 사이의 차이

 
(같은 사용자의 중간 판 7개는 보이지 않습니다)
10번째 줄: 10번째 줄:
</source>
</source>


==DB 접속 셰선 수==
==DB 접속 세션 수==
===MS-SQL===
===MS-SQL===
*perfmon 활성 트랜잭션 수
*perfmon 활성 트랜잭션 수


===MySQL===
===MySQL===
;MySQL 쿼리
<source lang='SQL'>
<source lang='SQL'>
SHOW PROCESSLIST
SHOW PROCESSLIST
</source>
;쉘 명령어
<source lang='bash'>
mysqladmin processlist -uroot -pP@ssw0rd
</source>
</source>


23번째 줄: 28번째 줄:
select count(*) from v$session where status='ACTIVE'
select count(*) from v$session where status='ACTIVE'
</source>
</source>
==같이 보기==
*[[아파치 로그]]
*[[동시접속자 수]]
*[[미디어위키 whos.amung.us 통계 붙이기]]
*[[MySQL SHOW PROCESSLIST]]


[[분류:네트워크]]
[[분류:네트워크]]

2013년 11월 29일 (금) 16:00 기준 최신판

동시 접속자 수 확인하기
동시접속자 수 확인

1 웹서버 접속 수[ | ]

netstat -an | grep :80.*ESTABLISHED | wc -l
netstat -an | grep :80 | grep ESTABLISHED | wc -l

2 DB 접속 세션 수[ | ]

2.1 MS-SQL[ | ]

  • perfmon 활성 트랜잭션 수

2.2 MySQL[ | ]

MySQL 쿼리
SHOW PROCESSLIST
쉘 명령어
mysqladmin processlist -uroot -pP@ssw0rd

2.3 Oracle[ | ]

select count(*) from v$session where status='ACTIVE'

3 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}