关于缓存:Ubuntu-查看缓存文件qbit

6次阅读

共计 243 个字符,预计需要花费 1 分钟才能阅读完成。

前言

  • 本文在 Ubuntu 20.04 下测试

fincore

  • 查看单个文件有多大在缓存中

    fincore filename
  • 查看目录下所有文件有多大在缓存中

    ls ./ | xargs fincore

vmtouch

  • 查看单个文件有多大在缓存中

    vmtouch filename
  • 查看目录下所有文件有多大在缓存中

    vmtouch ./

pcstat

  • 未尝试,https://github.com/tobert/pcstat

hcache

  • 未尝试,https://github.com/silenceshe…

本文出自 qbit snap

正文完
 0