mcdc CLI는 Google에서 우선적으로 필요한 검색 및 평가 기능과 개선사항을 확인하는 데 도움이 될 수 있도록 익명화된 사용 정보를 전송합니다. 사용 통계는 Google Cloud 개인정보처리방침에 따라 처리됩니다. 이 섹션에서는 mcdc CLI를 설치한 후 언제든지 사용 통계가 Google로 전송되는지 여부를 변경하는 방법을 설명합니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["이해하기 어려움","hardToUnderstand","thumb-down"],["잘못된 정보 또는 샘플 코드","incorrectInformationOrSampleCode","thumb-down"],["필요한 정보/샘플이 없음","missingTheInformationSamplesINeed","thumb-down"],["번역 문제","translationIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2024-12-21(UTC)"],[],[],null,["# Manage Migration Center discovery client CLI\n\nThis document describes how you can manage the Migration Center discovery client CLI.\n\nBefore you begin\n----------------\n\n- Complete the steps to [download the `mcdc` CLI](/migration-center/docs/download-collector-cli).\n\nAutomatic version check\n-----------------------\n\nBy default, the `mcdc` CLI performs a version check once\nevery 24 hours. When you run the `mcdc` CLI and\na new version is available, a message is displayed which indicates that the\nversion of `mcdc` CLI that is available for you to upgrade\nto. This version check requires an internet connection.\n\n- When needed, configure a proxy to access the internet:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set proxy PROXY\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set proxy PROXY\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n Replace \u003cvar translate=\"no\"\u003ePROXY\u003c/var\u003e with the IP address of the HTTP or HTTPS proxy.\n For example, `127.0.0.1:7777` or `socks5://127.0.0.1:1234`.\n- Deactivate the automatic version check by setting the\n `disable_version_checking` option:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set disable_version_checking true\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set disable_version_checking true\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\nManage configurations\n---------------------\n\nYou can manage the configuration properties by using the `config`\ncommand.\n\n- Print all configuration properties and their values:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config list\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config list\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n- Print the value of a configuration property:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config get PROPERTY_NAME\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config get PROPERTY_NAME\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n Replace \u003cvar translate=\"no\"\u003ePROPERTY_NAME\u003c/var\u003e with the name of the property\n for which you want to print the value.\n- Set a configuration property:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set proxy PROXY\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set proxy PROXY\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n- Reset a configuration property to its default value:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config unset proxy\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config unset proxy\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\nManage usage statistics\n-----------------------\n\nThe `mcdc` CLI sends pseudoanonymized usage information\nthat can help Google to prioritize discovery and assessment features and\nimprovements. These usage statistics are handled in accordance with\n[Google Cloud Privacy Notice](/terms/cloud-privacy-notice). This\nsection describes how you can change whether usage statistics are sent to\nGoogle at any time after you've installed the `mcdc` CLI.\n\n- Disable sending usage statistics:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set disable_usage_reporting true\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set disable_usage_reporting true\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n- Enable sending usage statistics:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc config set disable_usage_reporting false\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe config set disable_usage_reporting false\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\nDelete collected data from host machine\n---------------------------------------\n\n- After you've collected data and exported it to Migration Center or\n completed an offline assessment, you can delete the data from the local\n database:\n\n\n ### Linux\n\n \u003cbr /\u003e\n\n ```\n ./mcdc discover purge-db -db DATABASE_NAME\n ```\n\n \u003cbr /\u003e\n\n ### Windows\n\n \u003cbr /\u003e\n\n ```\n mcdc.exe discover purge-db -db DATABASE_NAME\n ```\n\n \u003cbr /\u003e\n\n \u003cbr /\u003e\n\n Replace \u003cvar translate=\"no\"\u003eDATABASE_NAME\u003c/var\u003e with the path to the database\n where the collected data is stored. Typically, it is in the same directory\n where you installed the `mcdc` CLI.\n\nWhat's next\n-----------\n\n- Learn how to [run an offline assessment](/migration-center/docs/run-offline-assessment)."]]