Swap/Paging


/etc/swpaspaces			# config file
swapon -a			# activate all swap spaces
swapon  /dev/paging00		# activate additional device
swapoff	/dev/paging00		# deactivate

chps -s16 hd6			# change attrib of paging space
				# add 16 PP to existing paging space in /dev/hd6
				# PP size determined by lslv hd6", eg 256, 512 MB
chps -d8 hd6			# remove 8 PP to existing paging space in LV hd6
mkps -s16 rootvg -a -n		# add new paging space worth 16 PP to 
				# vg called rootvg, 
				# -a = activate at once, 
				# -n = active on reboot.
mkps -s32 datavg hdisk1		# add new paging space on diff vg, specifying 
				# which disk to put it on.
rmps paginig00			# remove the whole paging space from sys
lsps -a				# list paging space stat
shrinkps			# 5L, shrink paging space (script)
				# not sure why need this??

svmon				# view current vm usage.  Need perfagent.tools

Comentarios