小编Mse*_*ade的帖子

Bash 需要大量时间来加载

因此,当我打开一个终端 (ctrl+alt+t) 时,提示显示大约需要 6 秒,并且我可以观察到(在另一个终端上运行 top)它占用了 99% 的 CPU 来执行此操作。

是什么原因造成的?它之前立即加载。

我正在运行 Ubuntu 13.04,我的 CPU 是 Intel Core i7-2600K @ 3.4GHz,我有 16GB 的 RAM。

~/.profile:

# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install …
Run Code Online (Sandbox Code Playgroud)

command-line bash cpu-load

11
推荐指数
2
解决办法
1万
查看次数

标签 统计

bash ×1

command-line ×1

cpu-load ×1