Generate Report Only for Available CPUs for All or Selective Components
Review sample commands to generate a report listing available CPUs for all or selective components. These commands do not generate 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
- Generate a report only
Command prompt
ptmwdb.bat --os_type Windows --output_dir c:\output --preview_download < c:\mos.txtPowerShell
Get-Content c:\mos.txt | .\ptmwdb.bat --os_type Linux --output_dir c:\output --preview_downloadSample 2
- Run the script on Windows
- os_type Linux (generate output for Linux)
- Selective components — WebLogic
- Generate a report only
Command prompt
ptmwdb.bat --os_type Linux --output_dir c:\output --preview_download --get_CPU WL < c:\mos.txtPowerShell
Get-Content c:\mos.txt | .\ptmwdb.bat --os_type Linux --output_dir c:\output --get_CPU WL ---preview_downloadSample 3
- Run the script on Linux
- os_type Linux (generate output for Linux)
- All components
- Generate a report only
./ptmwdb.sh --os_type Linux --output_dir /scratch/output --preview_download < /scratch/mos.txt
Sample 4
- Run the script on Linux
- os_type Windows (generate output for Windows)
- Selective components — WebLogic
- Generate a report only
./ptmwdb.sh --os_type Windows --output_dir /scratch/output --get_CPU WL --preview_download < /scratch/mos.txt