In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.