Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Studio 12.3 Installation Guide Oracle Solaris Studio 12.3 Information Library |
2. Installing the Oracle Solaris Studio 12.3 Software
3. Uninstalling the Oracle Solaris Studio 12.3 Software
A. Command-Line Options for the Installer,Uninstaller,and install_patches Utility
Adding Swap Space on a Solaris System
C. Oracle Solaris 12.3 Components and Packages
D. Patch Identification Numbers and Descriptions
E. Version Numbers of the Oracle Solaris Studio 12.3 Components
% su Password: root-password
dd if=/dev/zero of=/dir/myswapfile bs=1024 count=number_blocks_needed
where dir is a directory in which you have permission to add swap space. The myswapfile is the name of the swap file you are creating. The number_blocks_needed is an amount of 1024-byte blocks you want to create. See the dd(1) man page for more information.
ls -l /dir/myswapfile
The new file appears in the directory.
mkswap /dir/myswapfile
See the mkswap(8) man page for more detailed information.
swapon -a /dir/myswapfile
swapon -s
The output shows the allocated swap space.