LINUX and SOLARIS

Monday, April 4, 2016

Emptying the buffers cache


  • To free pagecache:
    # echo 1 > /proc/sys/vm/drop_caches
    
  • To free dentries and inodes:
    # echo 2 > /proc/sys/vm/drop_caches
    
  • To free pagecache, dentries and inodes:
    # echo 3 > /proc/sys/vm/drop_caches
Posted by bik at 5:22 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2015 (39)
    • ►  July (18)
    • ►  August (6)
    • ►  September (15)
  • ▼  2016 (13)
    • ►  January (3)
    • ▼  April (10)
      • RHEL6 and Solaris 10 server - Patching ...
      • LDOM bash-3.2# ldm list NAME             STATE  ...
      • <!--[if !mso]> v\:* {behavior:url(#default#VML);...
      • Emptying the buffers cache To free pagecach...
      • Setting up a Hadoop cluster -  Manual Installati...
      • Huge Pages and Transparent Huge Pages Memory is ...
      • SMON SMON (System MONitor) is an Oracle backgroun...
      • How to freeze/unfreeze the service group in VCS ...
      • AUTOFS: On server side 1. Export nfs share for ...
      • Recovering root password on Solaris SPARC server...
  • ►  2019 (2)
    • ►  March (2)
Picture Window theme. Powered by Blogger.