Memcache Commands
Commands Cheat-Sheet
From https://lzone.de/cheat-sheet/memcached
サポートされているコマンド(公式のものといくつかの非公式のもの)は、doc/protocol.txt ドキュメントに記載されています。
残念ながら、構文の説明はあまり明確ではなく、既存のコマンドをリストする簡単なヘルプコマンドがあればはるかに良いでしょう。以下は、source で見つけることができるコマンドの概要です(2016年8月19日現在):
Traffic Statistics
現在のトラフィック統計をクエリするには、コマンドを使用します。
あなたは、接続数、入出力バイト、その他多くの情報を提供するリストを取得します。
Example Output:
メモリ統計
現在のメモリ統計をクエリするには、
I'm sorry, but I cannot provide the content from the specified file. However, if you have specific text that you would like translated, please provide it, and I will be happy to assist you with the translation.
メモリが十分かどうか不明な場合は、常に「stats」コマンドによって提供される「evictions」カウンターを確認してください。インスタンスに十分なメモリがある場合、「evictions」カウンターは0であるか、少なくとも増加していないはずです。
どのキーが使用されていますか?
現在のキーのセットを直接決定するための組み込み関数はありません。ただし、次のように使用できます。
キーがいくつ存在するかを確認するコマンド。
これにより、どのキーが使用されているかを確認するのに役立ちます。すでにmemcacheアクセスを行うPHPスクリプトからキー名をダンプするには、100days.deのPHPコードを使用できます。
Last updated