Categories: Hostripples Featured

Clear/Free/Remove Cache memory from Linux Server

Clear/Free/Remove Cache memory from Linux Server

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please use belwo command to clear Cache memory from Linux Server

free -m

echo 1 > /proc/sys/vm/drop_caches

=======

eg :
BEFORE :
root@lnx [~]# free -m
total used free shared buffers cached
Mem: 12001 11614 386 0 2026 6996
-/+ buffers/cache: 2592 9409
Swap: 1907 0 1907

root@lnx [~]# echo 1 > /proc/sys/vm/drop_caches

AFTER :
root@lnx [~]# free -m
total used free shared buffers cached
Mem: 12001 2796 9205 0 5 390
-/+ buffers/cache: 2401 9600
Swap: 1907 0 1907

=========


HR-ADMIN

Recent Posts

AI – Powered Customer Support in Hosting: Chatbots & Virtual Assistants

Customer support has always been the backbone of the web hosting industry. From helping users set up domains to troubleshooting…

2 weeks ago

ChatGPT: Your Ultimate AI Content Generation Tool

Content is the most vital asset for businesses navigating the digital era. But creating high-quality, engaging content consistently can be…

4 weeks ago

Discover Ollama: How It Works, Features & Everything?

Welcome to the exciting world of Ollama, a revolutionary open-source tool that's democratizing access to Large Language Models (LLMs). If…

1 month ago

Connecting to Amazon EC2 via WinSCP (SFTP): A Complete Guide

Managing files on your Amazon EC2 instances can often feel like navigating a complex maze, especially when you prefer a…

2 months ago

How Can I Connect to a Database with MySQL Workbench?

Welcome to the world of database management with MySQL Workbench! If you're new to databases or looking for a powerful,…

2 months ago