Operating System - HP-UX
1752604 Members
4454 Online
108788 Solutions
New Discussion юеВ

Re: How to find the virtual memory

 
SOLVED
Go to solution
praveen..
Super Advisor

How to find the virtual memory

hi,
how can i find the virtual memory, swap space in my server ?

please suggest
thanks
praveen
11 REPLIES 11
Arunvijai_4
Honored Contributor
Solution

Re: How to find the virtual memory

Hi Praveen,

Use the following commands,

# swapinfo or swapinfo -a

# /opt/ignite/bin/print_manifest

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Steven E. Protter
Exalted Contributor

Re: How to find the virtual memory

Shalom,

swapinfo -tam

Post the output if you desire interpretation.

You can measure its use with the vmstat command or one of the sar commands.

See http://www.hpux.ws/system.perf.sh for a good guide on which sar command.

1 post, three suggestions.

Forth suggestion: System and Network Administration 1 & 2. http://education.hp.com

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
praveen..
Super Advisor

Re: How to find the virtual memory

# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 0 4194304 0% 0 - 1 /dev/vg00/lvol2
dev 20971520 0 20971520 0% 0 - 1 /dev/vg00/swap2
reserve - 21350952 -21350952
memory 33520872 21785356 11735516 65%


so now how much virtual memory i have?
is it 33.52GB
Ramaprasad N
Honored Contributor

Re: How to find the virtual memory

You can also use 'sam', to find out the virtual memory statistics on your HP-UX system.
Devender Khatana
Honored Contributor

Re: How to find the virtual memory

Hi,

The virtual memory here is 24576MB. But the good part is that nothing is in use. If this is the scenario when system is running normally, this will be the ideal situation.

HTH,
Devender
Impossible itself mentions "I m possible"
Sanjay Yugal Kishore Ha
Frequent Advisor

Re: How to find the virtual memory

Hi,

Quite a bit of tools are available:
1. vmstat - vmstat(1)
2. sam -> Performance Monitors
3. use the nickel script - http://www.grc.hp.com/docs/nickel/

HTH.

-Sanjay
Dying is the last thing that I will do.
Nguyen Anh Tien
Honored Contributor

Re: How to find the virtual memory

swapinfo can help you to find these parameter
swapinfo prints information about device and file system paging space.
(Note: the term `swap' refers to an obsolete implementation of
virtual memory; HP-UX actually implements virtual memory by way of
paging rather than swapping. This command and others retain names
derived from `swap' for historical reasons.)
# swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1048576 1888 1046688 0% 0 - 1 /dev/vg00/lvol2
reserve - 70428 -70428
memory 362812 320564 42248 88%
HP is simple
Arunvijai_4
Honored Contributor

Re: How to find the virtual memory

Hi Praveen,

Your Virtual Memory is 24.5 GB and nothing is occupied yet, You can also use "sam" to get to know the system properties.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Muthukumar_5
Honored Contributor

Re: How to find the virtual memory

You can use this,

# sam -> performance monitor -> system properties -> Memory Tab

# vmstat -> Memory Fields

# top

--
Muthu
Easy to suggest when don't know about the problem!