addLocalFileSwap - adds swap space from a local filesystem
/usr/sysadm/privbin/addLocalFileSwap <MB of swap to add> <directory under
which to add swap>
addLocalFileSwap creates a file of the specified size in the indicated
directory. If the directory does not exist, it will be created. The file
name will be chosen automatically, depending on the name of any other
swap files in the directory. Once the file is created, the swapctl(2)
system call is used to add the file for use as swap space.
This privcmd is not intended for command line use. A better and more
flexible interface is provided by the swap(1M) command.
/etc/fstab gets entry for new swap element
sysmgr(1M), runpriv(1M), SwapManager(1M), swap(1M), swapctl(2)
PPPPaaaaggggeeee 1111 [ Back ]