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)
--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
Base Connection Options
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