4/7/2024 0 Comments Python memcached clientversion verbosity Increases log level verbosity quit Terminate session quit Traffic Statistics For example printf "set mykey 0 60 4\r\ndata\r\n" \| nc localhost 11211 add Add a new key add newkey 0 60 5 replace Overwrite existing key replace key 0 60 5 append Append data to existing key append key 0 60 15 prepend Prepend data to existing key prepend key 0 60 15 incr Increments numerical key value by given number incr mykey 2 decr Decrements numerical key value by given number decr mykey 5 delete Deletes an existing key delete mykey flush_all Invalidate all items immediately flush_all flush_all Invalidate all items in n seconds flush_all 900 stats Prints general statistics stats Prints memory statistics stats slabs Print higher level allocation statistics stats malloc Print info on items stats items stats detail stats sizes Resets statistics counters stats reset lru_crawler metadump Dump (most of) the metadata for (all of) the items in the cache lru_crawler metadump all version Prints server version. Command Description Example get Reads a value get mykey set Set a key unconditionally set mykey Įnsure to use \r\n als line breaks when using Unix CLI tools.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |