Linux/Centos下释放内存和缓存方法
$ free -m
运行sync将dirty的内容写回硬盘
$ sync
通过修改proc系统的drop_caches清理free的cache
$ echo 3 > /proc/sys/vm/drop_caches
$ free -m
Linux/Centos下释放内存和缓存方法
$ free -m
运行sync将dirty的内容写回硬盘
$ sync
通过修改proc系统的drop_caches清理free的cache
$ echo 3 > /proc/sys/vm/drop_caches
$ free -m
暂无评论
2023-12-02
2023-12-02
2023-12-02
2023-12-02
2023-12-01
2023-12-01
2023-12-01
2023-12-01
2023-12-01
2024-05-20
2024-05-20
2024-05-20
2024-05-20
2024-05-20
2024-05-20
2024-05-18
2024-05-18
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17
2024-05-17