The following examples shows how to delete the /files/swapfile swap file.
# swap -d /files/swapfile # swap -l swapfile dev swaplo blocks free /dev/dsk/c0t2d0s1 32,17 8 205624 192720