HP HP-UX

The swapinfo command on an HP-UX system lets you find out how much swap space is allocated and is being used. For example:

# /usr/sbin/swapinfo 
             Kb      Kb      Kb   PCT  START/      Kb
TYPE      AVAIL    USED    FREE  USED   LIMIT RESERVE  PRI  NAME
dev     1048576       0 1048576    0%       0       -    1  /dev/vg00/lvol2
reserve       -  389240 -389240
memory  1178960  966564  212396   82%

To find out how much swap space is being used while TotalView is running, enter:

/usr/bin/ps -lf

Here is an example of what you might see:

  F S     UID    PID    PPID  C PRI  NI       ADDR     SZ ...
21 T      rtf  4414  13709  0 154  20  ce8d800 2764 ...

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 within the Disks and File Systems menu.

 
 
 
 
support@etnus.com
Copyright © 2001, Etnus, LLC. All rights reserved.
Version 5.0