diag¶
The diagnostic commands print configuration and environment information and provide suggestions on identifiable misconfigurations or common issues. No private credentials are included in the gathered diagnostic data.
usage: ngc diag [--debug] [--format_type <fmt>] [--org <name>] [--team <name>]
[-h]
{all,client,install,server} ...
Named Arguments¶
- --debug
Enable debug mode.
- --format_type
Possible choices: ascii, csv, json
Specify the output format type. Supported formats are: ['ascii', 'csv', 'json']. Only commands that produce tabular data support csv format. Default: ascii
- --org
Specify the organization name. Use "--org no-org" to override other sources and specify no org (no-org cannot be used if API key is set). Default: current configuration
- --team
Specify the team name. Use "--team no-team" to override other sources and specify no team. Default: current configuration
diag¶
- {all,client,install,server}
Possible choices: all, client, install, server, user
Sub-commands¶
all¶
Produce the maximum amount of diagnostic output (client, install, server, user).
ngc diag all [--debug] [--format_type <fmt>] [--org <name>] [--team <name>]
[-h]
Named Arguments¶
- --debug
Enable debug mode.
- --format_type
Possible choices: ascii, csv, json
Specify the output format type. Supported formats are: ['ascii', 'csv', 'json']. Only commands that produce tabular data support csv format. Default: ascii
- --org
Specify the organization name. Use "--org no-org" to override other sources and specify no org (no-org cannot be used if API key is set). Default: current configuration
- --team
Specify the team name. Use "--team no-team" to override other sources and specify no team. Default: current configuration
install¶
Produce diagnostic output only for the local installation environment.
ngc diag install [--debug] [--format_type <fmt>] [--org <name>]
[--team <name>] [-h]
Named Arguments¶
- --debug
Enable debug mode.
- --format_type
Possible choices: ascii, csv, json
Specify the output format type. Supported formats are: ['ascii', 'csv', 'json']. Only commands that produce tabular data support csv format. Default: ascii
- --org
Specify the organization name. Use "--org no-org" to override other sources and specify no org (no-org cannot be used if API key is set). Default: current configuration
- --team
Specify the team name. Use "--team no-team" to override other sources and specify no team. Default: current configuration
client¶
Produce diagnostic output only for the client machine.
ngc diag client [--debug] [--format_type <fmt>] [--org <name>] [--team <name>]
[-h]
Named Arguments¶
- --debug
Enable debug mode.
- --format_type
Possible choices: ascii, csv, json
Specify the output format type. Supported formats are: ['ascii', 'csv', 'json']. Only commands that produce tabular data support csv format. Default: ascii
- --org
Specify the organization name. Use "--org no-org" to override other sources and specify no org (no-org cannot be used if API key is set). Default: current configuration
- --team
Specify the team name. Use "--team no-team" to override other sources and specify no team. Default: current configuration
user¶
Produce diagnostic output only for the user configuration.
ngc diag user [--debug] [--format_type <fmt>] [--org <name>] [--team <name>]
[-h]
Named Arguments¶
- --debug
Enable debug mode.
- --format_type
Possible choices: ascii, csv, json
Specify the output format type. Supported formats are: ['ascii', 'csv', 'json']. Only commands that produce tabular data support csv format. Default: ascii
- --org
Specify the organization name. Use "--org no-org" to override other sources and specify no org (no-org cannot be used if API key is set). Default: current configuration
- --team
Specify the team name. Use "--team no-team" to override other sources and specify no team. Default: current configuration
server¶
Produce diagnostic output only for remote server systems.
ngc diag server [--debug] [--format_type <fmt>] [--org <name>] [--team <name>]
[-h]
Named Arguments¶
- --debug
Enable debug mode.
- --format_type
Possible choices: ascii, csv, json
Specify the output format type. Supported formats are: ['ascii', 'csv', 'json']. Only commands that produce tabular data support csv format. Default: ascii
- --org
Specify the organization name. Use "--org no-org" to override other sources and specify no org (no-org cannot be used if API key is set). Default: current configuration
- --team
Specify the team name. Use "--team no-team" to override other sources and specify no team. Default: current configuration
Examples¶
Installation Environment¶
$ ngc diag install
Checking general information...
Timestamp: 2019-03-22 14:14:46 UTC
User name: NGC User
Checking CLI installation...
CLI version: NGC CLI 2.0.0
Using a binary version of CLI: YES
Client Environment¶
$ ngc diag client
Checking general information...
Timestamp: 2019-03-22 14:21:55 UTC
User name: NGC User
Checking Operating System...
Type: Linux
Version: 4.20.14-200.fc29.x86_64
Checking disk usage for /home/ngc_user...
Total: 850.32 GB
Free: 799.79 GB
Used: 0.9%
Checking current directory (/home/ngc_user/) size...
Size: 712.46 MB
Checking memory usage...
Total: 31.09 GB
Free: 19.7 GB
Used: 14.2%
Checking file permissions...
set umask: 077
Checking set NGC CLI environment variables...
None
Server Information¶
$ ngc diag server
Checking general information...
Timestamp: 2019-03-22 14:23:28 UTC
User name: NGC User
Checking API gateway connectivity...
API Connectivity: SUCCESS
Checking authentication...
Authentication: SUCCESS
Checking API connectivity (container registry)...
Container Registry Connectivity: SUCCESS
Checking API connectivity (container registry meta)...
Container Registry Meta Connectivity: SUCCESS
Checking API connectivity (model registry)...
Model Registry Connectivity: SUCCESS
Checking external IP...
Global IP Address: 255.255.255.255