1833777 Members
2190 Online
110063 Solutions
New Discussion

SWAP in HPUX11 i

 
moulaye2006
New Member

SWAP in HPUX11 i

hi i have HPUX 11i OS
and 3Go RAM,how to adjest(modifile) my SWAP to 2 of RAM

6 REPLIES 6
sajeer_2
Regular Advisor

Re: SWAP in HPUX11 i

If you make your question more clear,we may be able to help you.
RAC_1
Honored Contributor

Re: SWAP in HPUX11 i

How much swap do you already have?
swapinfo -mat.

You can add swap as secondary swap now.
There is no substitute to HARDWORK
arun m govind
Frequent Advisor

Re: SWAP in HPUX11 i

hi moulaye,

you can incress with "swapon " command.
see the man pages for more information.

rgd
Arun M Govind
IT_2007
Honored Contributor

Re: SWAP in HPUX11 i

run swapinfo -nt and see how much swap you have on /dev/vg00/lvol2 which is primary swap. If it is less than 2GB then you can create a secondary swap and activate online.
DCE
Honored Contributor

Re: SWAP in HPUX11 i


You should always have at least as much swap as ram. This can be all hysical swap, or a combination of real and psuedo swap. Pseudo swap is a kernel parameter (swapmem_on =1) that fools the system into thinking there is more swap than there actually. If you use psuedo swap, you still need at .75 GB (for your system) real swap.

If you want to add physical swap -create a lvol of the size swap you want to add, then add it as swap with either swap on or via sam
inventsekar_1
Respected Contributor

Re: SWAP in HPUX11 i

Hi Moulaye,
i think ur question is " i have 3GB RAM and how to adjest swap to twice of RAM?"

Assume /dev/dsk/c0t2d0 is 4GB and myswap lvm and myfs1 is 1 GB each. so totally 6GB.

1. swapon /dev/vg01/myswap
2. swapon /dev/dsk/c0t2d0
3. swapon -p 3 -l 1024M /myfs1

1. swap on a logical volume.
2. swap on a whole disk.
3. swap on a filesystem.

or

sam-->Disks and File Systems-->Swap
and -->actions u can create.

Be Tomorrow, Today.