Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ivikramsahu/redis-to-diskwriter

Release memory from redis and write on disk
https://github.com/ivikramsahu/redis-to-diskwriter

disk-space management-server perl redis

Last synced: about 2 months ago
JSON representation

Release memory from redis and write on disk

Awesome Lists containing this project

README

        

# redis-to-disk writer

write data from redis memory to disk

* vim redis_to_disk_writer.pl

* copy the perl code in above redis.pl file.

* run using below command

` perl redis_to_disk_writer.pl 100 REDIS_QUEUE_NAME >> /path/to/write/on/disk.log `

* **100** is number of time it will lpop from queue name **REDIS_QUEUE_NAME**

* it will free up redis memory and write all your log to disk at your **/path/to/write/on/disk.log**