kypan's 札記
首頁
關於我
top 標籤的全部彙整
top + mtop 找吃資源的 sql query
發表於
八月 31, 2008
在
系統筆記
和
網路筆記
分類.
0
則評論
標籤:
mtop
,
sql
,
top
.
用兩個 screen,或是登入兩個user,一個開 top 一個開 mtop
但是因為要及時觀察的關係,建議是用兩個user 分開畫面來觀察
user1
開
top
,設定
更新頻率為 1s
user2
開
mtop
,設定
更新頻率為1s
接著
從top 觀察 mysqld 的cpu 使用率
,
突然飆高時馬上到 mtop 案 z
接著
輸入那時 mtop 抓到正在執行的sql query 之 ID
,即可看到那句 sql query 內容
搜尋
搜尋:
分類
其它小記
(2)
日記碎唸
(5)
未分類
(1)
程式作品
(3)
程式筆記
(26)
ActionScript3
(2)
Android
(1)
c#
(4)
PHP
(5)
Ruby/Rails
(8)
上課筆記
(1)
Java
(1)
其它
(5)
系統筆記
(20)
網路文章
(2)
網路筆記
(7)
資訊安全
(1)
標籤
antivir
apache
c#
checkbox
clonezilla
css
dig
dns
ebtables
Fedora
FilenameExtension
frame
gnome
htaccess
java
javascript
krPortScanner
kscURLEncoderDecoder
learn
linux
mod_rewrite
msn
mtop
mysql
PHP
plesk
putty
quicktag
rails
restful
rexml
rndc
ruby
session
sql
tcpdump
tinymce
top
windows
wordpress
xml
ydst
yum
碎念
網路
近期文章
受保護的文章:blank
Android Emulator 備忘指令
人在做天在看
換 XSplash
低估
重裝 Windows 後還原 Grub2
[PHP] 印出陣列中被包在StdClass內的Value
天蠍座終極分析
受保護的文章:付出與否
[AS3] Event.ENTER_FRAME
ActionScript 3 學習筆記
張宇-置身事外
恢復 Gnome Panel
更改Gnome視窗外觀
WindowsXP 自動啟動 NumLock
近期迴響
Michael Kors New Arrivals
在
人在做天在看
Timberland Boots Sale
在
換 XSplash
Timberland Boots Sale
在
人在做天在看
Timberland Boots Sale
在
Android Emulator 備忘指令
Master in real estate
在
PHP + JSON
Buy domain names
在
PHP + JSON
Mulberry outlet store
在
重裝 Windows 後還原 Grub2
Tory Burch Outlet
在
低估
dental hygiene programs
在
人在做天在看
dental hygiene programs
在
人在做天在看
high probability trading
在
人在做天在看
tanyue123
在
低估
North Face Sale
在
人在做天在看
North Face Sale
在
換 XSplash
North Face Sale
在
低估
其它
登入
文章
RSS
訂閱
迴響
RSS
訂閱
WordPress.org
近期迴響