不要なサービスの停止
Last-modified: Tue, 07 Jan 2014 23:49:59 JST (4060d)
Top > 不要なサービスの停止
不要なサービスの停止
- rootになる。
sudo su -
- chkconfigライクなsysv-rc-confを入れる
apt-get install sysv-rc-conf
- RunLevel 3で自動起動設定になっているものをピックアップ。
sysv-rc-conf --list | grep 3:on
- 私の環境ではこんな感じになった。
dns-clean 1:on 2:on 3:on 4:on 5:on grub-common 2:on 3:on 4:on 5:on ondemand 2:on 3:on 4:on 5:on rc.local 2:on 3:on 4:on 5:on rsync 2:on 3:on 4:on 5:on sudo 2:on 3:on 4:on 5:on
- 私の環境ではこんな感じになった。
- 不要なサービスをザクザク止める。
sysv-rc-conf dns-clean off sysv-rc-conf pppd-dns off sysv-rc-conf rsync off
- upstartで起動しているジョブを出す。
initctl list | grep start/ | sort
- 私の環境ではこんな感じになった。
acpid start/running, process 856 apport start/running atd start/running, process 863 cron start/running, process 862 ~~~省略~~~ ssh start/running, process 749 tty1 start/running, process 902 tty2 start/running, process 846 tty3 start/running, process 850 tty4 start/running, process 832 tty5 start/running, process 839 tty6 start/running, process 853 udev start/running, process 385 ufw start/running upstart-socket-bridge start/running, process 668 upstart-udev-bridge start/running, process 381 whoopsie start/running, process 906
- 私の環境ではこんな感じになった。
- いらないジョブを起動しないようにします。
- クラッシュレポート関連
- apport
- whoopsie
- ttyそんなにいらない
- tty3
- tty4
- tty5
- tty6
/etc/init/配下にそれぞれスクリプトが入っているので、その中にある
start on runlevelの箇所をコメントアウトします。
- クラッシュレポート関連
Counter: 854,
today: 1,
yesterday: 0
このページの参照回数は、854です。