In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Log in to memcache on cmd
Telnet 127.0.0.1 11211
two。 List all keys
Stats items / / this is a command that lists all keys
/ / obtain key through items id in the returned information of stats items
/ / for example, if itemid is 7, the second parameter is the listed length 0, and the key name corresponding to the current id is listed.
STAT items:7:number 1
STAT items:7:age 188
END
3. Obtain key through itemid
Next, based on the listed items id, in this case it is 7, the second parameter is the listed length, and 0 is all listed.
Stats cachedump 7 0 / / this is a command
/ / obtain the value of key as above
Get key / / the key name obtained in the previous step
ITEM Sess_sidsvpc1473t1np08qnkvhf6j2 [1394527347 s]
END
4. Get the key value through get
The above stats cachedump command lists my session key, and then use the get command to find the corresponding session value
Get Sess_sidsvpc1473t1np08qnkvhf6j2 / / this is an order
VALUE
Sess_sidsvpc1473t1np08qnkvhf6j2 1440 1
eighty-three
| Sess_ | aRV 5: {Svv 6: "verify"; svv 32: "e70981fd305170c41a5632b2a24bbcaa"; svv 3: "uid"; Srig 1: "1"
8: "username"; 5: "admin"; 9: "logintime"; 19: "2014-03-11 16:24:25"; 7: "log"
Inip "; SVR 9:" 127.0.0.1 ";}
5. Reference address
Reference address: http://www.darkcoding.net/software/memcached-list-all-keys/
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.