MediaWiki REL1_27
|
memcached diagnostic tool More...
Go to the source code of this file.
Functions | |
mccGetHelp ( $command) | |
mccShowUsage () | |
Show this command line tool usage. | |
Variables | |
if( $line===false) | $args = explode( ' ', $line ) |
$cache = isset( $options['cache'] ) ? $options['cache'] : null | |
$command = array_shift( $args ) | |
$debug = isset( $options['debug'] ) | |
$help = isset( $options['help'] ) | |
$line = Maintenance::readconsole() | |
if( $help) | $mcc |
$optionsWithArgs = [ 'cache' ] | |
$optionsWithoutArgs | |
$quit = false | |
$showhelp = false | |
do | |
if( $cache) elseif($wgMainCacheType===CACHE_MEMCACHED) elseif(isset( $wgObjectCaches[$wgMainCacheType]['servers'])) | else |
memcached diagnostic tool
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. http://www.gnu.org/copyleft/gpl.html
Definition in file mcc.php.
mccGetHelp | ( | $command | ) |
mccShowUsage | ( | ) |
Definition at line 33 of file mcc.php.
Referenced by MemcLockManager\__construct(), LinkBatch\addResultToCache(), SiteStatsUpdate\adjustPending(), ProcessCacheLRUTest\assertCacheEmpty(), MediaWiki\Auth\AuthManager\autoCreateUser(), Skin\buildSidebar(), Preprocessor\cacheGetTree(), Preprocessor\cacheSetTree(), ApiStashEdit\checkCache(), FeedUtils\checkPurge(), MessageBlobStore\clear(), User\clearSharedCache(), ResourceLoaderFileModule\compileLessFile(), MediaWiki\Auth\AuthManager\continueAccountCreation(), LanguageConverter\convertNamespace(), MultiWriteBagOStuff\deleteObjectsExpiringBefore(), UsersPager\doBatchLookups(), WikiPage\doDeleteArticleReal(), MultiWriteBagOStuff\doGet(), MultiWriteBagOStuff\doWrite(), McTest\execute(), RebuildFileCache\execute(), LinkBatch\executeInto(), FormatMetadata\fetchExtendedMetadata(), Message\fetchMessage(), DBConnectionError\fileCachedPage(), ProcessCacheLRUTest\fillCache(), ResourceLoader\filter(), MessageCache\getAllMessageKeys(), MessageBlobStore\getBlobs(), User\getCacheKey(), SpecialVersion\getCreditsForExtension(), File\getDescriptionText(), ForeignDBFile\getDescriptionText(), DifferenceEngine\getDiffBody(), DjVuHandler\getDimensionInfo(), IcuCollation\getFirstLetterData(), UsersPager\getGroups(), ApiHelp\getHelp(), DateFormatter\getInstance(), LoadMonitorMySQL\getLagTimes(), TransformationalImageHandler\getMagickVersion(), DatabaseMysqlBase\getMasterServerInfo(), FileCacheBase\getMissesRecent(), BacklinkCache\getNumLinks(), SiteStatsUpdate\getPendingDeltas(), UIDGenerator\getSequentialPerNodeIDs(), ForeignAPIRepo\getThumbUrlFromCache(), User\getTouched(), DependencyWrapper\getValueFromCache(), FileCacheBase\incrMissesRecent(), Interwiki\invalidateCache(), MessageCache\isCacheExpired(), User\isEveryoneAllowed(), Language\isValidCode(), Block\isWhitelistedFromAutoblocks(), MessageCache\load(), Interwiki\load(), ChangesFeed\loadFromCache(), LocalFile\loadFromCache(), User\loadFromCache(), MessageCache\loadFromDB(), MessageCache\loadFromDBWithLock(), ExtensionRegistry\loadFromQueue(), LanguageConverter\loadTables(), Revision\loadText(), MediaWiki\main(), ObjectCache\newAnything(), ResourceFileCache\newFromContext(), ObjectFileCache\newFromKey(), WatchedItemStoreUnitTest\newWatchedItemStore(), SiteStats\numberingroup(), ChangesList\numberofWatchingusers(), HistoryAction\onView(), CoreParserFunctions\pagesincategory(), ApiStashEdit\parseAndStash(), BacklinkCache\partition(), User\pingLimiter(), User\purge(), Article\purgePatrolFooterCache(), ChangeTags\purgeTagCacheAll(), ChangeTags\purgeTagUsageCache(), MessageBlobStore\recacheMessageBlob(), SiteStatsUpdate\removePendingDeltas(), DBConnectionError\reportHTML(), ResourceLoaderModule\saveFileDependencies(), ChangesFeed\saveToCache(), User\saveToCache(), MessageCache\saveToCaches(), MessageCache\saveToLocalCache(), MultiWriteBagOStuff\setDebug(), UploadBase\setSessionStatus(), MessageCache\setValidationHash(), Article\showMissingArticle(), Article\showPatrolFooter(), ApiStashEdit\stashEditFromPreview(), DependencyWrapper\storeToCache(), MediaWiki\Auth\AuthManagerTest\testAutoAccountCreation(), ProcessCacheLRUTest\testBumpExistingKeyToTop(), CachedBagOStuffTest\testCacheBackendMisses(), MediaWiki\Auth\ThrottlerTest\testClear(), HashBagOStuffTest\testClear(), MediaWiki\Auth\ThrottlePreAuthenticationProviderTest\testConstructor(), MediaWiki\Auth\ThrottlerTest\testConstructor(), MediaWiki\Auth\AuthManagerTest\testContinueAccountCreation(), HashBagOStuffTest\testDelete(), HashBagOStuffTest\testEvictionAdd(), HashBagOStuffTest\testEvictionGet(), HashBagOStuffTest\testEvictionSet(), MediaWiki\Auth\ThrottlerTest\testExpiration(), HashBagOStuffTest\testExpire(), ProcessCacheLRUTest\testFillingCache(), CachedBagOStuffTest\testGetFromBackend(), FileBasedSiteLookupTest\testGetSite(), FileBasedSiteLookupTest\testGetSites(), MediaWiki\Auth\ThrottlerTest\testIncrease(), MediaWiki\Auth\ThrottlerTest\testLog(), MediaWiki\Auth\ThrottlerTest\testNamespacing(), LocalisationCacheTest\testPuralRulesFallback(), LocalisationCacheTest\testRecacheFallbacksWithHooks(), ProcessCacheLRUTest\testRecentlyAccessedKeyStickIn(), ProcessCacheLRUTest\testReplaceExistingKeyInAFullCacheShouldBumpToTop(), ProcessCacheLRUTest\testReplaceExistingKeyShouldBumpEntryToTop(), CachedBagOStuffTest\testSetAndDelete(), GlobalTest\testWfForeignMemcKey(), GlobalTest\testWfGlobalCacheKey(), GlobalTest\testWfMemcKey(), CachedBagOStuffTest\testWriteCacheOnly(), MediaWiki\Auth\ThrottlerTest\testZeroCount(), WikiPage\triggerOpportunisticLinksUpdate(), Article\tryFileCache(), ResourceLoaderModule\validateScriptFile(), wfGenerateThumbnail(), wfIsBadImage(), wfIsDebugRawPage(), and MediaWiki\Session\PHPSessionHandler\write().
$command = array_shift( $args ) |
Definition at line 125 of file mcc.php.
Referenced by mccGetHelp().
$debug = isset( $options['debug'] ) |
Definition at line 31 of file mcc.php.
Referenced by DatabaseBase\debug(), MWDebug\getDebugInfo(), WikiImporter\setDebug(), MemcachedPhpBagOStuff\setDebug(), MultiWriteBagOStuff\setDebug(), ReplicatedBagOStuff\setDebug(), Exif\validate(), and wfThumbError().
$help = isset( $options['help'] ) |
Definition at line 32 of file mcc.php.
Referenced by ApiHelp\getHelpInternal(), UploadForm\getSourceSection(), ApiMain\modifyHelp(), ApiFormatBase\setHelp(), and ApiMain\setHelp().
if ($help) $mcc |
Definition at line 39 of file mcc.php.
Referenced by McTest\execute().
switch( $command) if ($bad) else |