當 loading 太重的時後, 要看到底是哪些命令造成的.
看現在有在跑那些 process
mysqladmin -u root processlist
進入 mysql 中
show processlist
kill Id 就可以清掉那個 Thread id
ex: kill 8888737
日期: 2005 年 3 月 7 日
load averages 的 意義
轉載自: Linux下Top命令中load averages的涵義
top displays a variety of information about the processor state. The
display is updated every 5 seconds by default, but you can change that
with the d command-line option or the s interactive command.
uptime
This line displays the time the system has been up, and the three
load averages for the system. The load averages are the average
number of process ready to run during the last 1, 5 and 15 min-
utes. This line is just like the output of uptime(1). The uptime
display may be toggled by the interactive l command.