zowe › zosmf › check › status
Confirm that z/OSMF is running on a system specified in your profile and gather information about the z/OSMF server for diagnostic purposes. The command outputs properties of the z/OSMF server such as version, hostname, and installed plug-ins.
Usage
zowe zosmf check status [options]
Zosmf Connection Options
--host
|-H
(string)- The z/OSMF server host name.
--port
|-P
(number)The z/OSMF server port.
Default value: 443
--user
|-u
(string)- Mainframe (z/OSMF) user name, which can be the same as your TSO login.
--password
|--pass
|--pw
(string)- Mainframe (z/OSMF) password, which can be the same as your TSO password.
--reject-unauthorized
|--ru
(boolean)Reject self-signed certificates.
Default value: true
--base-path
|--bp
(string)- The base path for your API mediation layer instance. Specify this option to prepend the base path to all z/OSMF resources when making REST requests. Do not specify this option if you are not using an API mediation layer.
Profile Options
--zosmf-profile
|--zosmf-p
(string)- The name of a (zosmf) profile to load for this command execution.
--base-profile
|--base-p
(string)- The name of a (base) profile to load for this command execution.
Base Connection Options
--token-type
|--tt
(string)- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
--token-value
|--tv
(string)- The value of the token to pass to the API.
Examples
Report the status of the z/OSMF server that you specified in your default z/OSMF profile:
zowe zosmf check status
Report the status of the z/OSMF server that you specified in a supplied z/OSMF profile:
zowe zosmf check status --zosmf-profile SomeZosmfProfileName
Report the status of the z/OSMF server that you specified manually via command line:
zowe zosmf check status --host myhost --port 443 --user myuser --password mypass