You should also modify the kernel parameter maxchunksize if you want a swap area greater than 512 Mb. You can use SAM to configure swap space and kernel parameters. There is no way to disable swap space from an HP-UX 9.x system while the system is running. Currently configured swap space and swap space usage can be displayed with the swapinfo command. Note that if there have been many system messages, or if the system has been up for a long time, this information may have been flushed from the kernel.
Space is used first from swap areas with the lowest priority number.
When you add a new swap area, you may specify a priority. This feature allows you to assign a higher priority to the faster swap areas so that slower areas will only be used when the primary swap areas become full. Swap areas with the same priority are interleaved. If a raw partition and a file system swap file have the same priority, the raw partition will be used first. Adding a Raw Swap Partition To add a raw partition as secondary swap space on an HP-UX 10.x system, first identify which disk will be used as the raw swap space.