2008.05.21 20:04
mysqladmin 명령을 이용하거나, mysql 접속후 쿼리 문을 이용해서, 아래와 같이 현재 실행되고 있는 mysql 프로세스 리스트를 확인 할 수 있다.
[root@localhost root]# /usr/local/mysql/bin/mysqladmin processlist -p
Enter password:
+-------+------+-----------+----+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-------+------+-----------+----+---------+------+-------+------------------+
| 13852 | root | localhost | | Query | 0 | | show processlist |
+-------+------+-----------+----+---------+------+-------+------------------+
[root@localhost root]#
[root@localhost root]# mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 13868 to server version: 5.0.18-log
Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql> show processlist;
+-------+------+-----------+------+---------+------+-------+------------------+
| Id | User | Host | db | Command | Time | State | Info |
+-------+------+-----------+------+---------+------+-------+------------------+
| 13868 | root | localhost | NULL | Query | 0 | NULL | show processlist |
+-------+------+-----------+------+---------+------+-------+------------------+
1 row in set (0.00 sec)
mysql>
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
5 | [mysql] 작은 용량의 파일 로드 속도가 느려진 경우 | 호스트웨이 | 2015.09.22 | 7106 |
4 | MYSQL 접속 - 소켓 지정하여 접속하기 | 호스트웨이 | 2015.09.23 | 58384 |
3 | DB접속시 DNS 관련 오류 | 호스트웨이 | 2015.09.25 | 18288 |
2 | [Oracle] 대량 자료 조회 Parallel | 호스트웨이 | 2015.09.26 | 7244 |
1 | MySQL Bash 스크립트를 활용한 로컬 백업 | 호스트웨이 | 2016.02.04 | 12405 |