89369
libmemcached Command-Line Utilities
In addition to the main C library interface, libmemcached also includes a number of command-line
Utilities that can be useful when working with and debugging memcached applications.
Ali of the command-line tools accept a number of arguments, the most critical of which is servers,
which specifies the list of servers to connect to when returning information.
The main tools are:
• memcat: Display the value for each ID given on the command linę:
shell> memcat --servers=localhost hwkey Hello world
• memcp: Copy the contents of a file into the cache, using the file name as the key:
shell> echo "Hello World" > hwkey shell> memcp —3ervers=localhost hwkey shell> memcat --servers=localhost hwkey Hello world
• memrm: Remove an item from the cache:
3hell> memcat --servers-localhost hwkey Hello world
shell> memrm —servers-localhost hwkey shell> memcat --3ervers=localhost hwkey
• memslap: Test the load on one or morę memcached servers, simulating get/set and multiple Client
operations. For example, you can simulatethe load of 100 clients performing get operations:
shell> memslap --servers-localhost --concurrency-100 --flush —test-get memslap —servers-localhost --concurrency-100 --flush —test-get Threads connecting to servers 100 Took 13.571 seconds to read data
• memf lush: Flush (empty) the contents of the memcached cache.
Wyszukiwarka
Podobne podstrony:
page40 NUT-AND-LEAF BRACELET This bracelet, inspircd by naturę, features tiny bead nuts in addition&MySQL Community Support on Internet Relay Chat (IRC) In addition to the various MySQL mailing listsP1130015 (2) 1.2.4 Follicular and ovarian hematomas In addition to the luteinizing. anovulatory foll00169 ?8fdc7697ba8e0e2234fcfe61c09204 170 McWilliams satisfy ^3 = r/0 = T] + T2. In addition to exa17.7.2000 lENl Official Journal of the European Communities L 178/11 2. In addition to other in17.7.2000 lENl Official Journal of the European Communities L 178/11 2. In addition to other inimage002 SOMETHING NEW IN 1 0 • • U 1 i 0 In addition to a fuli score of the very best in new scAdministering the Database with SQL-Based Management Tools In addition to using the graphical user iIMG10TXT In addition to these Release 13 products, The MathWorks and third-party partners supply manimg11txt In addition to these Releose 12 products, The MothWorks and third-party partners supply man10 summary text In addition to these R12 products, The MothWorks and third-porty partners supply manimage002 Thls is a fascinating addition to the world of "what If” fiction THE TIMES What If tsustainability issue in relation to the soybean production in the Amazone region in Latin America. Stmta9 Frock (or tunic) Many outdoor workers wore a garment which seems rel-ated in cut to the gown,więcej podobnych podstron