this script sample and analyze the memory usage of the redis server, group by common key prefix