看板
[ Linux ]
討論串[問題] 如何寫一個抓取top後 cpu超過70%的程式 …
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
我後來辜到一個程式. 網址連結:http://0rz.tw/S8dQb. 轉貼如下:. 當process CPU loading超過90%, 就先行刪除:. #!/bin/bash. CPULOADING=90. ps auxh | \. while read pro. do. set -- $pr
(還有37個字)
內容預覽:
可以考慮用ab 測一下. 假設用ab 壓力測試後ok. 就可以確定是程式或系統. Usage: /usr/sbin/ab [options] [http[s]://]hostname[:port]/path. -n requests Number of requests to perform. -c
(還有110個字)
首頁
上一頁
1
下一頁
尾頁