The swapinfo command on an HP-UX system lets you find out how much swap space is allocated and is being used.
Here is an example of what you might see. The SZ column shows the pages occupied by a program.
To add swap space, use the/usr/sbin/swapon(1M) command or the
SAM (System Administration Manager) utility. If you use
SAM, invoke the
Swap command in the
Disks and File Systems menu.
To change maxdsiz, use the following path through the
SAM menus:
Answer yes to process the kernel modifications,
yes to install the new kernel, and
yes again to reboot the machine with the new kernel.