Download CPUs Only for All or Selective Components
Review sample commands to download CPUs for all or selected components, without generating the PT-MW-DPK.
These sample commands use standard input, with mos.txt as the input file, to supply MOS credentials.
Sample 1
- Run the script on Windows
- os_type Windows (generate output for Windows)
- All components
- Download only
Command prompt
ptmwdb.bat --os_type Windows --output_dir c:\output --download_only < c:\mos.txtPowerShell
Get-Content c:\mos.txt | .\ptmwdb.bat --os_type Linux --output_dir c:\output --download_onlySample 2
- Run the script on Windows
- os_type Linux (generate output for Linux)
- Selective components — WebLogic
- Download only
Command prompt
ptmwdb.bat --os_type Linux --output_dir c:\output --get_CPU WL --download_only < c:\mos.txtPowerShell
Get-Content c:\mos.txt | .\ptmwdb.bat --os_type Linux --output_dir c:\output --get_CPU WL --download_onlySample 3
- Run the script on Linux
- os_type Linux (generate output for Linux)
- All components
- Download only
./ptmwdb.sh --os_type Linux --output_dir /scratch/output --download_only < /scratch/mos.txtSample 4
- Run the script on Linux
- os_type Windows (generate output for Windows)
- Selective components — WebLogic
- Download only
./ptmwdb.sh --os_type Windows --output_dir /scratch/output --download_only --get_CPU WL < /scratch/mos.txt