摘要:
#redis统计大key redis-cli --bigkeys -i 0.1 -h 127.0.0.1 #批量模糊删除redis缓存 redis-cli -h linkstars_sso_redis_cache_m01 -p 6379 keys 'sso_user_*' | xargs redis 阅读全文
posted @ 2019-04-16 23:19
dfh168
阅读(96)
评论(0)
推荐(0)
摘要:
redis-cli -h linkstars_sso_redis_cache_m01 -p 6379 keys 'sso_user_*' | xargs redis-cli -h linkstars_sso_redis_cache_m01 -p 6379 del 阅读全文
posted @ 2019-04-16 23:13
dfh168
阅读(816)
评论(0)
推荐(0)
摘要:
redis-cli --bigkeys -i 0.1 -h 127.0.0.1 阅读全文
posted @ 2019-04-16 23:12
dfh168
阅读(115)
评论(0)
推荐(0)
摘要:
#根据文件内容查找文件 find ./ -name "*.conf" | xargs grep "v1.0/web" #统计行数 在文件a中统计hello出现的行数:grep hello a | wc -l在文件a中统计hello出现的次数:grep -o hello a | wc -l #查看脚本 阅读全文
posted @ 2019-04-16 23:07
dfh168
阅读(211)
评论(0)
推荐(0)
摘要:
{ "sort": [ { "timeUpdate": { "order": "desc" } } ], "query": { "bool": { "must": [ { "match": { "sort": "求助" } }, { "terms": { "parentType": [ "servi 阅读全文
posted @ 2019-04-16 22:53
dfh168
阅读(653)
评论(0)
推荐(0)
摘要:
POST /library/books/_bulk {"delete":{"_index":"library","_type":"books","_id":"10"}} {"create":{"_index":"music","_type":"classic","_id":"1"}} {"title 阅读全文
posted @ 2019-04-16 19:07
dfh168
阅读(86)
评论(0)
推荐(0)

浙公网安备 33010602011771号