Activate the specified swap device or file.
swapon [-a] device
-a enables all swap devices listed in the /etc/fstab file.
The swapon command activates the specified device or file as a swap space. During system startup, all swap spaces are activated by the swapon -a command, which is invoked by the script file /etc/rc.d/rc.sysinit.