About the bsu Command
When using thebsu
command, either interactively or through a script, note that this command:- Runs the
bsu
script (bsu.cmd
on Windows systems,bsu.sh
on UNIX systems) that is located in theMW_HOME
\utils\bsu
directory. When running thebsu
command, first change to this directory on the system from which you are running it. - Can be executed from a command file (on Windows) or shell script (on UNIX).
- Contains the subset of Smart Update functionality that enables you to:
- Apply and remove patches that are located in an accessible patch download directory
- View patches that are in the download directory, applied to a product installation on the current system, or applied to a specific patch profile for the current system
- Generate reports listing the patches applied to a product installation
bsu
command can also invoke the Smart Update graphical interface and send messages to a log file. - Apply and remove patches that are located in an accessible patch download directory
- Can apply patches to, or view patches on, only those products installed from the system on which this command is run, as follows:
- If the current system contains a product that was installed by a different system, you cannot apply patches to that installation or view them.
- If the current system was used to install a product located on a remote-mounted disk drive, you can use the
bsu
command with that installation.
bsu
command is the same as for Smart Update's graphical interface. - If the current system contains a product that was installed by a different system, you cannot apply patches to that installation or view them.
- Cannot be used for the following:
- Creating custom patch profiles
- Locating start scripts to modify
Example:bsu -view -status=downloaded -prod_dir=C:\Oracle\
Middleware\wlserver_10.3 Parameters
-help
-install
-gui
-log
-remove
-report
-version
-view
Reference:
https://docs.oracle.com/cd/E14759_01/doc.32/e14143/commands.htm
- Creating custom patch profiles