1821802 Members
3369 Online
109637 Solutions
New Discussion юеВ

Memory statistics

 
SOLVED
Go to solution
Janet White
Advisor

Memory statistics

Hi,

Someone looking for memory stats which I don't know how to get :). Memory cache faults per second, commit limit; committed bytes in use, need this for load testing of new app. I only have MW/Glance besides basic unix (vmstat sar etc). Thank you for your time.

Janet
8 REPLIES 8
Arunvijai_4
Honored Contributor

Re: Memory statistics

Hi Janet,

May be this thread help you,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=963479

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Janet White
Advisor

Re: Memory statistics

Thanks! Feel foolish, didn't search for RAM only memory.
Geoff Wild
Honored Contributor

Re: Memory statistics

With MW extract, you can create nightly reports like so:

# performance
55 23 * * 1-5 /opt/perf/bin/extract -xp -r /home/gwild/zgbltemplate -g -b today 7:00 -e today 18:00 -f stdout | /bin/mailx -s 'svr003 performance report' sysadm >/dev/null 2>&1


# cat /home/gwild/zgbltemplate
REPORT "MWA Export on !SYSTEM_ID"
FORMAT ASCII
HEADINGS ON
SEPARATOR="|"
SUMMARY=60
MISSING=0
DATA TYPE GLOBAL
YEAR
DATE
TIME
GBL_CPU_TOTAL_UTIL
GBL_CPU_SYS_MODE_UTIL
GBL_CPU_USER_MODE_UTIL
GBL_CPU_SYSCALL_UTIL
GBL_CPU_INTERRUPT_UTIL
GBL_PRI_QUEUE
GBL_CPU_CSWITCH_UTIL
GBL_SWAP_SPACE_UTIL
GBL_DISK_UTIL_PEAK
GBL_DISK_SUBSYSTEM_QUEUE
GBL_MEM_UTIL
GBL_MEM_CACHE_HIT_PCT
GBL_MEM_PAGEOUT_RATE
GBL_MEM_SWAPOUT_RATE
GBL_MEM_QUEUE
GBL_NET_PACKET_RATE
GBL_NET_OUTQUEUE
GBL_NETWORK_SUBSYSTEM_QUEUE



add/remove what you like to the template file...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Janet White
Advisor

Re: Memory statistics

thank you. I don't understand the equivelant metric that will give me memory commit limit, I have never heard of that has anyone?
Geoff Wild
Honored Contributor

Re: Memory statistics

Yeah, I couldn't find memory commit either in this:

http://ovweb.external.hp.com/ovnsmdps/pdf/pa_metrics.pdf

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
James A. Donovan
Honored Contributor
Solution

Re: Memory statistics

Sounds like whoever wants this information is used to dealing with Windows systems. "Commit limit", "Committed Bytes" and "Cache faults/sec" are all Windows performance counters.

Commit Limit:
Commit Limit is the amount of virtual memory that can be committed without having to extend the paging file(s). It is measured in bytes. Committed memory is the physical memory which has space reserved on the disk paging files. There can be one paging file on each logical drive). If the paging file(s) are be expanded, this limit increases accordingly. This counter displays the last observed value only; it is not an average.

The rough counterpart in HP-UX is probably the amount of swap space available on the system.

Committed Bytes:
Committed Bytes is the amount of committed virtual memory, in bytes. Committed memory is the physical memory which has space reserved on the disk paging file(s). There can be one or more paging files on each physical drive. This counter displays the last observed value only; it is not an average.

Again, roughly the amount of used/reserved swap.

Cache Faults/Sec:
Cache Faults/sec is the rate at which faults occur when a page sought in the file system cache is not found and must be retrieved from elsewhere in memory (a soft fault) or from disk (a hard fault). The file system cache is an area of physical memory that stores recently used pages of data for applications. Cache activity is a reliable indicator of most application I/O operations. This counter shows the number of faults, without regard for the number of pages faulted in each operation.

Remember, wherever you go, there you are...
Janet White
Advisor

Re: Memory statistics

EXACTLY WHAT I NEEDED!!! Thank you!
Janet White
Advisor

Re: Memory statistics

answer supplied by Jim