How is swap space and the virtual memory calculated?
Total Swap
/etc/swap -s
Where available swap and the used swap are added to get the swap space
Total RAM
/usr/sbin/prtconf | grep Memory size
Virtual Memory Max Size
= total swap + Total RAM as calculated above.
Virtual Memory Free
= available swap + size of the freelist converted to MB returned by vmstat
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center