LoginSignup
6
7

More than 5 years have passed since last update.

メモリキャッシュの解放

Last updated at Posted at 2013-04-26

echo 1 > /proc/sys/vm/drop_caches

[root@***********]# free -m                                                                                                                             
             total       used       free     shared    buffers     cached
Mem:          1866       1802         64          0         75       1422
-/+ buffers/cache:        304       1562
Swap:         3999          0       3999
[root@**********]# echo 1 > /proc/sys/vm/drop_caches
[root@**********]# free -m                                                                                                                             
             total       used       free     shared    buffers     cached
Mem:          1866        301       1565          0          0         23
-/+ buffers/cache:        277       1589
Swap:         3999          0       3999
6
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
7