मैन्युल:mcc.php
Appearance
MediaWiki file: mcc.php | |
---|---|
Location: | maintenance/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
Classes: | Find code • Find documentation |
विस्तार
mcc.php फ़ाइल एक अनुरक्षण स्क्रिप्ट है जो एक memcached डायग्नोस्टिक उपकरण के रूप में काम करता है।
MemCached Command (mcc) is an interactive command tool that lets you interact with the MediaWiki memcached cache.
List of commands
These interactive commands are available in mcc.php:
Command | Description |
---|---|
get | grabs something |
getsock | lists sockets |
set | changes something |
delete | deletes something |
history | show command line history |
server | show current memcached server |
dumpmcc | shows the whole thing |
exit | exit mcc |
quit | exit mcc |
help | help about a command |
Usage
php maintenance/mcc.php
Terminal
$ php maintenance/mcc.php > getsock resource(757) of type (persistent stream) > set A Wiki > get A Getting A[] Wiki > server 127.0.0.1:11211 > help get : grabs something getsock: lists sockets set : changes something delete : deletes something history: show command line history server : show current memcached server dumpmcc: shows the whole thing exit : exit mcc quit : exit mcc help : help about a command > exit
Common error
- Bad command
This error occurs when an invalid command is given. See the list of valid commands.