favicon .ico 文件在 Ubuntu 11.10 中存储在哪里?
如何从 chrome 缓存中提取 .ico 文件?
我有许多备用的外部硬盘驱动器,我想知道是否有任何实用的方法可以使用外部硬盘驱动器或 USB 闪存驱动器来提高 Ubuntu 的性能?
这个想法源于使用 Windows PC 并插入 USB 设备,这会提示一个弹出窗口,询问我是否希望将 USB 用于ReadyBoost以加速我的系统。我想这可能与 Linux 系统无关,但有兴趣知道是否有任何实用的方法可以使用外部硬盘驱动器来获得潜在的性能提升。

在上面的菜单中,Mem和缓存有什么区别?他们都使用我 RAM 中的内存吗?哪个程序使用缓存?
我通常使用 Ubuntu 调整在我的电脑上做清理工作。这包括 apt 和程序缓存数据以及旧内核。除了基于 Mozilla 的应用程序 - Firefox 和 Thunderbird,这对于大多数程序来说都是正常的。
Ubuntu 调整似乎不知道他们的缓存文件夹在哪里,即使缓存文件夹已满,也总是返回“可以清除零个包”。检查下面的屏幕截图:

我正在寻找一种方法来一次性清理所有缓存数据和不需要的包。
如果有人知道如何更改 Firefox 和 Thunderbird 的 ubuntu 调整缓存文件夹,那就太完美了。
我最后尝试过漂白位,但它使我的电脑崩溃,我不得不重新安装 Ubuntu。
我正在使用 Ubuntu 调整 0.8.6。
编辑
这个问题的截图同样的问题:为什么 Ubuntu Tweak's Janitor 不工作?
编辑 2
对于那里的 python 程序员,这个答案显示了 Ubuntu 调整管理员运行以清理系统的命令。也许里面的一些东西会更清楚地说明这个问题。
机器是单启动Linux。
今天从13.10升级到14.04后,我儿子的账户启动时没有窗口管理器。他有他的桌面图标,可以点击它们,但没有菜单,也没有启动器。我可以从桌面图标启动应用程序,但它们启动时没有窗口装饰。
有趣的是,在我的同一台机器上的帐户上没有问题。我登录后一切正常,就像在 13.10 中一样。我试图在我的会话中杀死 compiz 并得到了类似的效果。所以我想这与我儿子帐户中的 compiz 问题有关。
我设法compiz --debug在我儿子的桌面上放置了一个图标。结果如下:
/usr/bin/compiz (core) - Info: Loading plugin: core
/usr/bin/compiz (core) - Debug: Trying to load core from: /home/alon/.compiz-1/plugins/libcore.so
/usr/bin/compiz (core) - Debug: dlopen failed: /home/alon/.compiz-1/plugins/libcore.so: cannot open shared object file: No such file or directory
/usr/bin/compiz (core) - Debug: Trying to load core from: /usr/lib/compiz/libcore.so
/usr/bin/compiz (core) - Debug: dlopen failed: /usr/lib/compiz/libcore.so: cannot open shared object file: No such file or directory
/usr/bin/compiz (core) - Info: Starting plugin: …Run Code Online (Sandbox Code Playgroud) 我的情况非常简单:我备份了一些文档并将它们放在 NAS 上,因为我宁愿传输一个大文件而不是数百万个小文件,所以我创建了一个 tar
\n\ntar cf backup/2013-07-12-pictures.tar Pictures\nRun Code Online (Sandbox Code Playgroud)\n\n我的Pictures目录包含大约 12GB 的数据,并且我的缓存逐渐填满。如果我压缩更多文件(例如我的项目,等等),不需要很长时间,并且我所有的32GB RAM都会被使用:
sheldor:~$ free -g\n total used free shared buffers cached\nMem: 31 31 0 0 0 27\n-/+ buffers/cache: 2 28\nSwap: 29 0 29\nRun Code Online (Sandbox Code Playgroud)\n\n此时,虽然鼠标和系统通常负责,但启动程序(从磁盘读取)需要很长时间。字面上的年龄:我有一个 SSD 并启动 Chrome,通常需要一秒钟,现在大约需要 2 分钟。
\n\n现在你会在互联网上找到所有关于清除缓存不好的帖子等等。在这里,在Ask Ubuntu上你也可以找到这样的帖子,它通过提供命令救了我的命
\n\nsudo sync && sudo sysctl -w vm.drop_caches=3\nRun Code Online (Sandbox Code Playgroud)\n\n如果您仔细阅读评论,您会发现例如这里:
\n\n\n\n\n这不是问题,这就是页面缓存的工作原理。它将尽可能长时间地缓存内容,但当其他应用程序的内存压力增加时会自动释放项目。无需手动清除。\xe2\x80\x93 铯 11 年 11 月 22 日 16:08
\n
什么?我的系统(Intel …
我正在运行 Ubuntu 15.10 并且已经在我的系统上安装了 memcached。我当前的项目要求是在同一台服务器上运行两个 memcached 实例,但端口不同。我从/etc/memcached.conf文件开始并检查它是否具有指定端口号的选项。所以,我想我只需要有两个具有不同端口号的相同 conf 文件。
然后我检查 memcached 启动脚本,/etc/init.d/memcached以便我可以指定 conf 文件的位置。但令我惊讶的是,我发现启动脚本已经有一个选项可以运行多个 memcached 实例。
# Usage:
# cp /etc/memcached.conf /etc/memcached_server1.conf
# cp /etc/memcached.conf /etc/memcached_server2.conf
# start all instances:
# /etc/init.d/memcached start
# start one instance:
# /etc/init.d/memcached start server1
# stop all instances:
# /etc/init.d/memcached stop
# stop one instance:
# /etc/init.d/memcached stop server1
# There is no "status" command.
FILES=(/etc/memcached_*.conf)
# check for alternative config schema
if [ -r "${FILES[0]}" ]; then
Run Code Online (Sandbox Code Playgroud)
我尝试了上面的选项,但它仍然继续启动一个实例,而不是启动两个实例。我在这里错过了什么吗?
我正在尝试找出导致我的个人计算机非常缓慢的罪魁祸首。最大的嫌疑是记忆。当计算机运行得很快时,我的缓存看起来很正常。但是,当它运行缓慢时,它看起来像这样:
luke@Luke-XPS-13:~$ free -m
total used free shared buff/cache available
Mem: 7830 1111 1090 277 5628 1257
Swap: 16077 665 15412
Run Code Online (Sandbox Code Playgroud)
和这个:
luke@Luke-XPS-13:~$ vmstat -S M
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
3 0 665 1065 67 5562 0 0 34 88 43 23 13 4 82 0 0
Run Code Online (Sandbox Code Playgroud)
缓存占用了我的 8GB 内存中的 5.5GB,当所有程序都关闭时,并在运行后
echo "echo 3 > /proc/sys/vm/drop_caches"
Run Code Online (Sandbox Code Playgroud)
这应该是强制清除它们。一旦计算机开始进入交换,它的游戏就会以可用的速度结束。关机暂时解决了这个问题,但它最终又回来了,我不知道是什么导致了它。Slabtop 稍微透露了更多关于罪魁祸首的信息,但我不确定这意味着什么。为什么kmalloc-4096?
Active …Run Code Online (Sandbox Code Playgroud) 我从软件中心安装了 indicator-multiload 0.2-0ubuntu1。(它与显示内存和 CPU 图表的 gnome 面板指示器非常相似)
当我单击显示小内存图的 Unity 面板时,它说;
内存:1.451 GB 缓存:2.581。这也在颜色图中表示。
但是,当我加载系统监视器时,SWAP 为 0。
这是正常的,还是系统监视器或面板指示器中可能存在错误?
cache ×10
ram ×2
11.10 ×1
15.10 ×1
bookmarks ×1
compiz ×1
external-hdd ×1
files ×1
firefox ×1
indicator ×1
memory-leak ×1
memory-usage ×1
performance ×1
php ×1
swap ×1
tar ×1
thunderbird ×1
ubuntu-tweak ×1
upgrade ×1
usb-drive ×1