ubuntu进程监视器htop 清除黄色内存(缓存)

大意是:
对于CPU显示条:

  • 蓝色为:低优先级的线程
  • 绿色为:正常优先级线程
  • 红色为:内核线程

对于内存显示条:

    • 蓝色为:缓冲区(buffers)
    • 绿色为:已使用的内存
    • (橘)黄色为:高速缓存(cache)

清除黄色内存:

sync; sudo sh -c "echo 3 > /proc/sys/vm/drop_caches"

原文地址:https://www.cnblogs.com/mafeng/p/11583350.html