- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VMSTAT output on HPUX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 12:40 PM
11-17-2008 12:40 PM
VMSTAT output on HPUX
Can anyone tell me that the free memory parameter in vmstat output is in KB, Bytes or ??. I want to use that in script I consider it as KB but then I am getting the wrong value.
Can any one tell me
here is the output:
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
1 2 0 721674 5789 62 5 28 3 17 0 118 3404 12503 312 2 1 97
1 2 0 721674 6987 95 21 4 0 0 0 0 1099 4246 147 0 0 100
The value under Memory free tab, more interested in 6987.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 12:49 PM
11-17-2008 12:49 PM
Re: VMSTAT output on HPUX
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 12:55 PM
11-17-2008 12:55 PM
Re: VMSTAT output on HPUX
Also even if I consider 4K page still the value doesn't match to swapinfo output showing the free memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 01:04 PM
11-17-2008 01:04 PM
Re: VMSTAT output on HPUX
"Information about the usage of virtual and real memory. Virtual pages are considered active if they belong to processes that are running or have run in the last 20 seconds.
avm
Active virtual pages
free
Size of the free list"
On the other side, swapinfo only talks about swap and pseudo-swap space, it never talks about free physical memory on a system.
You might want to refer to top, or glance to see the amount of free memory on a system.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 01:13 PM
11-17-2008 01:13 PM
Re: VMSTAT output on HPUX
There is tab called memory and under that it gives you the details of used and free memory. I cross checked with the output from machinfo and found the same as of swapinfo value of total phy memory.
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4194304 343900 3850404 8% 0 - 1 /dev/vg00/lvol2
dev 8388608 347252 8041356 4% 0 - 1 /dev/vg00/lvol12
dev 8290304 0 8290304 0% 0 - 2 /dev/vg00/lvol18
reserve - 3240500 -3240500
memory 4182536 3365052 817484 80%
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 03:47 PM
11-17-2008 03:47 PM
Re: VMSTAT output on HPUX
You might want to use "swapinfo -tam" since there are too many digits in your numbers. :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 04:54 AM
11-18-2008 04:54 AM
Re: VMSTAT output on HPUX
The memory line, indicates how much pseudo-swap has been reserved.
If you would like to learn more about memory, I recommend you this guide:
ftp://eh:spear9@hprc.external.hp.com/memory.htm
Please remember to add points to the people that is helping you out.
Regards,
Jaime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 05:38 AM
11-18-2008 05:38 AM
Re: VMSTAT output on HPUX
One thing I can see is your system is paging, though not at a dangerously high pace.
Paging processes from memory to disk and back again, slows down overall performance and could be an indication of memory pressure.
Consider monitoring over time:
http://www.hpux.ws/?p=6
The answers to consistent paging are to increase memory to decrease demand for memory.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 06:21 AM
11-18-2008 06:21 AM
Re: VMSTAT output on HPUX
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 07:17 AM
11-18-2008 07:17 AM
Re: VMSTAT output on HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 07:24 AM
11-18-2008 07:24 AM
Re: VMSTAT output on HPUX
To find _where_ all the memory is being used takes a lot more diving through pstat if you want to do it yourself... or using Glance (which did it for you) or unsupported tools meant only for support which leak out from time to time. If free memory is enough, that's great -- but you might want to take a step back and let us know what you're really trying to do to see if that's meaningful.