- mkdir ~/srv/;cd ~/srv/
- svn checkout http://memcache-top.googlecode.com/svn/trunk/ memcache-top
- cd memcache-top
- ln -s ~/srv/memcache-top/memcache-top ~/bin/memcache-top
使用方法
memcache-top --instances 192.168.1.1:11211
| 代碼 | 語言名稱 | 正式語言名稱 |
| de | 德語 | Deutsch |
| en | 英語 | English |
| es | 西班牙語 | español |
| fr | 法語 | Français |
| ru | 俄語 | Русский |
| zh-TW | 中文(台灣) | 中文 |
| ja | 日語 | 日本語 |
| ko | 朝鮮語(韓國) | 한국어 |
| af | 南非荷蘭語 | |
| ar-ae | 阿拉伯語(阿拉伯聯合酋長國) | |
| ar-bh | 阿拉伯語(巴林) | |
| ar-dz | 阿拉伯語(阿爾及利亞) | |
| ar-eg | 阿拉伯語(埃及) | |
| ar-ip | 阿拉伯語(伊拉克) | |
| ar-jo | 阿拉伯語(約旦) | |
| ar-kw | 阿拉伯語(科威特) | |
| ar-lb | 阿拉伯語(黎巴嫩) | |
| ar-ly | 阿拉伯語(利比亞) | |
| ar-ma | 阿拉伯語(摩洛哥) | |
| ar-om | 阿拉伯語(阿曼) | |
| ar-qa | 阿拉伯語(卡塔爾) | |
| ar-sa | 阿拉伯語(沙特阿拉伯) | |
| ar-sy | 阿拉伯語(敘利亞) | |
| ar-tn | 阿拉伯語(突尼斯) | |
| ar-ye | 阿拉伯語(也門) | |
| be | 貝勞語 | |
| bg | 保加利亞語 | |
| ca | 加泰羅尼亞語 | |
| cs | 捷克語 | |
| da | 丹麥語 | |
| de-at | 德語(奧地利) | |
| de-ch | 德語(瑞士) | |
| de-li | 德語(列支敦士登) | |
| de-lu | 德語(盧森堡) | |
| el | 希臘語 | |
| en-au | 英語(澳大利亞) | |
| en-bz | 英語(伯利茲) | |
| en-ca | 英語(加拿大) | |
| en-gb | 英語(英國) | |
| en-ie | 英語(愛爾蘭) | |
| en-jm | 英語(牙買加) | |
| en-nz | 英語(新西蘭) | |
| en-tt | 英語(特立尼達) | |
| en-us | 英語(美國) | |
| en-za | 英語(南非) | |
| es-ar | 西班牙語(阿根廷) | |
| es-bo | 西班牙語(玻利維亞) | |
| es-ce | 西班牙語(厄瓜多爾) | |
| es-cl | 西班牙語(智利) | |
| es-co | 西班牙語(哥倫比亞) | |
| es-cr | 西班牙語(哥斯達黎加) | |
| es-do | 西班牙語(多米尼加共和國) | |
| es-gt | 西班牙語(危地馬拉) | |
| es-hn | 西班牙語(洪都拉斯) | |
| es-mx | 西班牙語(墨西哥) | |
| es-ni | 西班牙語(尼加拉瓜) | |
| es-pa | 西班牙語(巴拿馬) | |
| es-pe | 西班牙語(秘魯) | |
| es-pr | 西班牙語(波多黎各) | |
| es-py | 西班牙語(巴拉圭) | |
| es-sv | 西班牙語(薩爾瓦多) | |
| es-uy | 西班牙語(烏拉圭) | |
| es-ve | 西班牙語(委內瑞拉) | |
| eu | 巴斯克語 | |
| fa | 波斯語 | |
| fi | 芬蘭語 | |
| fo | 法羅語 | |
| fr-be | 法語(比利時) | |
| fr-ca | 法語(加拿大) | |
| fr-ch | 法語(瑞士) | |
| fr-lu | 法語(盧森堡) | |
| gd | 蓋爾語(蘇格蘭) | |
| gd-ie | 蓋爾語(愛爾蘭) | |
| he | 希伯來語 | |
| hi | 北印度語 | |
| hr | 克羅地亞語 | |
| hu | 匈牙利語 | |
| in | 印度尼西亞語 | |
| is | 冰島語 | |
| it | 意大利語(標准) | |
| it-ch | 意大利語(瑞士) | |
| ji | 依地語 | |
| lt | 立陶宛語 | |
| lv | 拉脫維亞語 | |
| mk | 馬其頓語 | |
| ms | 馬來西亞語 | |
| mt | 馬耳他語 | |
| nl | 荷蘭語 | |
| nl-be | 荷蘭語(比利時) | |
| no | 挪威語(尼諾斯克) | |
| pl | 波蘭語 | |
| pt | 葡萄牙語(葡萄牙) | |
| pt-br | 葡萄牙語(巴西) | |
| rm | 拉丁語 | |
| ro | 羅馬尼亞語 | |
| ro-mo | 羅馬尼亞語(摩爾達維亞) | |
| ru-mo | 俄語(摩爾達維亞) | |
| sb | 索布語 | |
| sk | 斯洛伐克語 | |
| sl | 斯洛文尼亞語 | |
| sq | 阿爾巴尼亞語 | |
| sr | 塞爾維亞語(西裏爾) | |
| sr | 塞爾維亞語(拉丁) | |
| sv | 瑞典語 | |
| sv-fi | 瑞典語(芬蘭) | |
| sx | 蘇圖語 | |
| sz | 薩摩斯語(拉普蘭) | |
| th | 泰語 | |
| tn | 瓦納語 | |
| tr | 土耳其語 | |
| ts | 湯加語 | |
| uk | 烏克蘭語 | |
| ur | 烏爾都語 | |
| ve | 文達語 | |
| vi | 越南語 | |
| xh | 科薩語 | |
| zh-cn | 中文(中國) | |
| zh-hk | 中文(香港) | |
| zh-sg | 中文(新加坡) | |
| zu | 祖魯語 |
$ curl -sS https://getcomposer.org/installer | php2.使用
composer.json by hand. There is also an initcommand available that makes it a bit easier to do this.$ php composer.phar init
install command reads the composer.json file from the current directory, resolves the dependencies, and installs them into vendor.$ php composer.phar install
composer.lock file in the current directory, it will use the exact versions from there instead of resolving them. This ensures that everyone using the library will get the same versions of the dependencies.composer.lock file, composer will create one after dependency resolution.composer.lock file, you should use theupdate command.$ php composer.phar update
composer.lock.$ php composer.phar update vendor/package vendor/package2
$ php composer.phar update vendor/*
require command adds new packages to the composer.json file from the current directory.$ php composer.phar require
$ php composer.phar require vendor/package:2.* vendor/package2:dev-masterinstall, require or update as if you were running them from the COMPOSER_HOME directory.$COMPOSER_HOME/vendor/bin to your $PATH environment variable. Here is an example:$ php composer.phar global require fabpot/php-cs-fixer:dev-master
php-cs-fixer binary is available globally (assuming you adjusted your PATH). If you wish to update the binary later on you can just run a global update:$ php composer.phar global update
$ php composer.phar search monolog
show command.$ php composer.phar show
$ php composer.phar show monolog/monolog
name : monolog/monolog
versions : master-dev, 1.0.2, 1.0.1, 1.0.0, 1.0.0-RC1
type : library
names : monolog/monolog
source : [git] http://github.com/Seldaek/monolog.git 3d4e60d0cbc4b888fe5ad223d77964428b1978da
dist : [zip] http://github.com/Seldaek/monolog/zipball/3d4e60d0cbc4b888fe5ad223d77964428b1978da 3d4e60d0cbc4b888fe5ad223d77964428b1978da
license : MIT
autoload
psr-0
Monolog : src/
requires
php >=5.3.0
$ php composer.phar show monolog/monolog 1.0.2
depends command tells you which other packages depend on a certain package. You can specify which link types (require, require-dev) should be included in the listing. By default both are used.$ php composer.phar depends --link-type=require monolog/monolog
nrk/monolog-fluent
poc/poc
propel/propel
symfony/monolog-bridge
symfony/symfony
validate command before you commit your composer.json file, and before you tag a release. It will check if your composer.json is valid.$ php composer.phar validate
statuscommand allows you to check if you have local changes in any of them.$ php composer.phar status
--verbose option you get some more information about what was changed:$ php composer.phar status -v
You have changes in the following dependencies:
vendor/seld/jsonlint:
M README.mdown
self-update command. It will replace your composer.phar with the latest version.$ php composer.phar self-update
$ composer self-update 1.0.0-alpha7
root privileges$ sudo composer self-update
FOR /F "tokens=*" %%G IN ('DIR /B /AD /S _notes') DO RMDIR /S /Q "%%G"
FOR /F "tokens=*" %G IN ('DIR /B /AD /S _notes') DO RMDIR /S /Q "%G"