1830892 Members
2953 Online
110017 Solutions
New Discussion

Memory diagnostics

 
SOLVED
Go to solution
Joe Profaizer
Super Advisor

Memory diagnostics

Our system crashed w/ Oracle 8.1.7.2 and Oracle has asked that we run memory diagnostics onsite here to see if we have any memory issutes.

Can you provide me with such commands and/or built in diagnostic sofware tools?

Thanks,

..joe
8 REPLIES 8
Sanjay_6
Honored Contributor
Solution

Re: Memory diagnostics

Hi Joe,

You can use the STM diagnostics to do a stree test on memory. Run XSTM and then select memory and do an exercise on that.

Hope this helps.

regds
Jeff Schussele
Honored Contributor

Re: Memory diagnostics

Hi Joe,

Use the STM diag suite:

cstm => character based
xstm => X-window GUI

But if you're truly getting mem errors there will be entries in the syslog.log file. And if it's serious errors they'll be multi-byte errors as single errors are correctable & not uncommon - unless constant.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Helen French
Honored Contributor

Re: Memory diagnostics

Hi Joe:

The best utility will be STM. Try these commands to check memory:

1) stm - check memory modules (hardware)
2) gpm - GlancePlus memory usage/leak/paging
3) sar - system activity report
4) top
5) swapinfo
6) vmstat - virtual memory

See the man pages for more information

HTH,
Shiju
Life is a promise, fulfill it!
S.K. Chan
Honored Contributor

Re: Memory diagnostics

To check the memory log ..

# cstm
cstm>ru logtool
Logtool Utility> vda

Any error in memory should be reported here.
MANOJ SRIVASTAVA
Honored Contributor

Re: Memory diagnostics

Hi Joe


1.stm or xstm .
2. SAM---->performance Monitor---System properties---> Dynamic .

and ofcourse

sar , vmstat


Manoj Srivastava
S.K. Chan
Honored Contributor

Re: Memory diagnostics

To run diagnostics on memory ..
# cstm
cstm> map
cstm> sel dev
cstm> exercise
cstm> map
===> look for status of the exerciser since it'll take some time for it to complete.

After completion ..
cstm> exerinfo
cstm> exerfaillog
cstm> exeractlog

to get details of report from running the "exerciser"
Joe Profaizer
Super Advisor

Re: Memory diagnostics

We have 8Gb of memory and I'm running the "medium" exercise via cstm. It looks as though it only exercises free memory as we have about 6.5Gb allocated to oracle. Is this true? If so, will the maximum exercise diagnose all 8GB. Our presumption is that whatever oracle has allocated, we cannot test that respective memory -- or can we?

Thanks,

..Joe
Sanjay_6
Honored Contributor

Re: Memory diagnostics

Hi Joe,

I normally run the exercise with the maximum option selected. You can also do a q4 analysis of the crash files in /var/adm/crash to determine the reason for the crash.

Hope this helps.

Regds