Performing basic system tuning and monitoring

Determining swap usage

To determine how much swap space is being used, enter:

/usr/sbin/swap -l

The information displayed looks like this:

   path                             dev  swaplo blocks   free
   /dev/swap                       38,2       0 194560 133944
   /SWAP                           38,1025    0  10000   9856
To determine the number of megabytes of swap space available, add the figures in the blocks column, and divide the total number of blocks available by 2048 (equal to approximately 99MB free swap space in this example).
Next topic: Changing the size of swap space after installation
Previous topic: Managing swap space

© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999