I want to know the commands that are used for checking the size of RAM & Swap space coz, I am doing the oracle installation on HP unix for the first time.
Praveen
Do you just want to see how much you have?
If you have this enabled in your kernel you can use cat /proc/meminfo
... if not just do a free -m ... both give you stats about your ram.
free
or
cat /proc/meminfo
Bharath Raja
Thanks for the Input...
No, for the Oracle 9.2.0.1 Installation on HP Unix the minimum requirement
what the oracle recommends is
•Minimum 512 MB of RAM
•Minimum swap space 1 GB.
•Mount point for software installer require 3.5 GB, if you want
to add patch 9.2.0.2 and 1.2 GB more space to it.
•/tmp requires 400 MB
I wanted to use one of the available servers here, so thats the reason i was checking the RAM,SWAP sizes.
Can you please tell me how to increase the swap size which doesn't do much pagging & swapping coz, our entire SGA has to fit into RAM for the optimal usage of the DB.
Thanks again.
Praveen
For Memory size pass a command #dmesg |grep physical
And for Swap details see the following comands
1. As root, use SAM to create a contiguous logical volume of enough size or create the contiguous logical volume from command line using following procedure.(name new logical volume as newswap) (where cXtXdX is main root disk and cYtYdY is the mirrored disk)
#lvcreate –n newswap -C y –r n /dev/vg00
#lvextend –L size /dev/vg00/newswap /dev/dsk/cXtXdX
2. use SAM to verify that there is no bad block relocation
if it is success proceed with following procedure.
reboot the system in single user mode for avoiding any of the external access /corruptions
3. first reduce the mirror from second disk.
lvreduce -m 0 /dev/vg00/lvol2 /dev/dsk/cYtYdY
4. as root from console window ,remove and add primary swap and dump devices
a) Remove current dump device
# lvrmboot –v –d lvol2 /dev/vg00
b) Add a new dump device
# lvlnboot –d /dev/vg00/newswap
c) Remove the current swap device
# lvrmboot –s /dev/vg00
d) add a new swap volume
# lvlnboot –s /dev/vg00/newswap
5. verify the change
# lvlnboot –v
6. reboot system
7. after rebooting view the status.
# swapinfo –t
# lvlnboot –v
8 . remove the old lvol2 from system through SAM or command line
9. extend the new swap volume to mirror disk also.
#lvextend -m 1 /dev/vg00/newswap /dev/dsk/cYtYdY
Vijay Patil
Quick Links:
Do you have
a UNIX Question?
Unix Home: Unix System Administration
Hints and Tips