Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasnocool/linux-ram-cleaner
A simple yet effective script to clean up unnecessary data from RAM on Linux systems.
https://github.com/hasnocool/linux-ram-cleaner
bash cache cleaner cleaning linux management memory open optimization ram resource script shell simple software source swap system utilization
Last synced: about 1 month ago
JSON representation
A simple yet effective script to clean up unnecessary data from RAM on Linux systems.
- Host: GitHub
- URL: https://github.com/hasnocool/linux-ram-cleaner
- Owner: hasnocool
- Created: 2023-09-11T02:07:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-18T10:34:33.000Z (4 months ago)
- Last Synced: 2024-11-06T15:37:50.209Z (3 months ago)
- Topics: bash, cache, cleaner, cleaning, linux, management, memory, open, optimization, ram, resource, script, shell, simple, software, source, swap, system, utilization
- Language: Shell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**README.md**
=====================================**Linux Ram Cleaner**
====================A simple yet effective script to clean up your Linux system's RAM and free up some valuable resources.
**Description**
---------------Are you tired of running out of memory on your Linux machine? Do you wish there was an easy way to clear out unused data and get back some much-needed space? Well, wish no more! I built this script, **Linux Ram Cleaner**, to do just that. With a few simple commands, it'll clean up your RAM, freeing up resources for your next big project.
**Features**
------------* **Clear PageCache only**: Quickly free up memory by clearing out unused page cache.
* **Clear dentries and inodes**: Go the extra mile and remove unnecessary directory entries and inode caches too!
* **Clear PageCache, dentries, and inodes**: Why not do it all? This option is perfect for when you need to make some serious space on your system.One cool feature is... (you guessed it!) **the swapoff trick**. By temporarily disabling and re-enabling swap, we can even clean up swap memory!
I'm thinking about adding a GUI interface for the script. Stay tuned!
**Installation**
---------------1. Clone this repository using `git clone`.
2. Run `chmod +x memory_cleanup.sh` to make the script executable.
3. Move the script to your desired location (e.g., `/usr/local/bin`) and update the path in your `.bashrc` or equivalent.**Usage**
----------1. Simply run `./memory_cleanup.sh` from the terminal.
2. Follow the prompts to select which memory types you'd like to clear.
3. Enjoy your newfound free RAM!### Before and After screenshots
![Before](before.png) **vs** ![After](after.png)
Please note: These images are placeholders for actual screenshots, which will be added once the project is more mature.
**Contributing**
--------------If you'd like to contribute to this project or suggest new features, feel free to open an issue or submit a pull request. I'm always excited to collaborate with fellow developers!
**License**
----------This project is licensed under the MIT License. See `LICENSE` for details.
**Tags/Keywords**
-----------------* **Linux Ram Cleaner**
* **memory optimization**
* **cache cleaning**
* **swap memory management**
* **system resource utilization**
* **simple script**
* **open-source software**