1. 程式人生 > >Ubuntu 9.10 cpu 溫度過高“Temperature/speed normal”,導致kern.log記錄日誌檔案過大的解決辦法

Ubuntu 9.10 cpu 溫度過高“Temperature/speed normal”,導致kern.log記錄日誌檔案過大的解決辦法

不知道這個解決辦法通不通用,不過還是說出來,試試吧。
剛剛在https://bugs.launchpad.net/ubuntu/+source/linux/+bug/453444看到的
建立一個新的配置檔案/etc/rsyslog.d/10-temperature.conf用下面的內容:
程式碼: :msg,contains,"Temperature/speed normal" ~
:msg,contains,"Temperature above threshold" ~

意思是說,包含"Temperature/speed normal" 和 "Temperature above threshold" 資訊的訊息都不要記錄。
可以直接下載
10-temperature.conf
(89 bytes, text/plain)
我的就是這樣弄好了。
現在cpu在也沒有超過70C,很安詳呀。