Using Daemon Mode (Technical Preview)
Using Daemon Mode (Technical Preview)
If you already installed the supported version @zowe-v1-lts, switch versions to try this feature. Daemon mode will be included in the next major Zowe release, V2.0.0-LTS. You can also install the @next release of Zowe CLI.
Table of Contents:
Feature overview#
Daemon Mode significantly improves the performance of Zowe CLI commands by running Zowe CLI as a persistent background process (daemon).
Install the zowex native executable#
You can download and install the zowex native executable from Zowe Downloads (preferred) or from the Zowe Github repository. To install the zowex native executable from Zowe Downloads, see Install Zowe CLI from a download.
To download and install the zowex native executable from the Zowe Github repository:
- Navigate to the Zowe CLI GitHub repository
- Under the Release section, click Native Client Release. The Download page is displayed.
- Click the link to download the executable (.tgz file) for your operating system.
- Unzip the zowex .tgz file and place the zowex (or zowex.exe) file into a directory which occurs on your PATH earlier than the directory containing the NodeJS zowe command.
Starting Zowe in daemon mode#
Verify that you have installed the @next release of Zowe CLI and the zowex native executable.
To start Zowe CLI in daemon mode:
Issue the command: Windows command prompt (cmd.exe):
start zowe --daemonLinux or Windows PowerShell:
zowe --daemon &The CLI responds with prompts for a username and password.
Enter the username and password.
Use
zowexas your primary command instead ofzowe. Example:zowex zosmf check status