Due to increased demands that have been placed on your server, the swap space on this server is running low. You are going to add a swap file in the /datafile system as a temporary solution to add 500 Mbytes of additional swap space. Select the answer that describes which steps you need to perform?

A.
# mkfile 500m /data swapfile
# /usr/sbin/swap -a /data/swapfile
Make the following entry in the /etc/vfstab file:
/data/swapfile –swap -no
B.
# mkfile 500m /data swapfile
# /usr/sbin/swapon
Make the following entry in the /etc/vfstab file:
/data/swapfile –swap -no
C.
# /usr/sbin/swap -a 500m /data/swapfile
Make the following entry in the /etc/vfstab file:
/data/swapfile –swap -no –
Reboot the server
D.
# swap -a 500m/data swapfile
Make the following entry in the /etc/vfstab file:
/data/swapfile –swap -no #/usr/sbin/swapon
Correct answer is A
0
0