发新话题
打印

Ubuntu Linux登陆缓慢

Ubuntu Linux登陆缓慢

原因是登陆时会执行/etc/update-motd.d下的文件,会有很多apt-check进程,故chmod -x /etc/update-motd.d/*即可。

查看进程树:
ps -A --forest

查看命令执行过程:
strace -r -o trace.log date

参考:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/525674
http://askubuntu.com/questions/230553/how-to-prevent-so-many-instances-of-apt-check-running
https://help.ubuntu.com/lts/serverguide/automatic-updates.html

[ 本帖最后由 linda 于 2016-6-16 11:55 编辑 ]

TOP

发新话题