Remark : Redis command 명령어를 알아보자
1.메모리 모두 삭제 : flushall
1 2 3 4 |
127.0.0.1:6379> flushall OK |
2.사용 메모리 확인 : info Memory
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
127.0.0.1:6379> info Memory # Memory used_memory:1433072 used_memory_human:1.37M used_memory_rss:7208960 used_memory_rss_human:6.88M used_memory_peak:1489088 used_memory_peak_human:1.42M used_memory_peak_perc:96.24% used_memory_overhead:951520 used_memory_startup:864912 used_memory_dataset:481552 used_memory_dataset_perc:84.76% allocator_allocated:1548096 allocator_active:1880064 allocator_resident:8646656 total_system_memory:134906769408 total_system_memory_human:125.64G used_memory_lua:31744 used_memory_vm_eval:31744 |
3. 실시간 모니터
1 2 3 4 |
127.0.0.1:6379> monitor OK |