cancel
Showing results for 
Search instead for 
Did you mean: 

shared memory

Richard Woolley
Frequent Advisor

shared memory

does anyone know if there is a shared memory reporting tool. I need to know how much I have and what is using it?

cheers.
8 REPLIES
Rainer von Bongartz
Honored Contributor

Re: shared memory

use ipcs
for share memory info it is
ipcs -ma

Regards
rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
G. Vrijhoeven
Honored Contributor

Re: shared memory

Hi mark,

you can use sar -m aswell.

Gideon
harry d brown jr
Honored Contributor

Re: shared memory

glance+ is your best bet.
Live Free or Die
Uday_S_Ankolekar
Honored Contributor

Re: shared memory

Hi,

ipcs -moba will give details of used shared memeory.
If you find any application with 0 NATTACH you can remove this and release shared memonry by
ipcrm -m followed by id #

Good luck

-USA..
Good Luck..
Richard Woolley
Frequent Advisor

Re: shared memory

tried ipcs -mobas and thats given us some ideas however our sar has stopped working.... help, whenever we try and run a sar, we get an error:
sar Can't open /var/admsa/sa16

please help, whats going on?

mark.
Wodisch
Honored Contributor

Re: shared memory

Hello,

if you read the man-pages for the "Memory Windows" there should be a reference to a tool named like "memwin_stat"...
Try this.
It could be available on the HP RC ftp server:
ftp://contrib:9unsupp8@hprc.external.hp.com

HTH,
Wodisch
Richard Woolley
Frequent Advisor

Re: shared memory

sorry guys, read the man page on sar and sussed it.
sar -m 10 5 works.
cheers,

mark.
A. Clay Stephenson
Acclaimed Contributor

Re: shared memory

Hi Mark:

You are missing the data collector files because you are not running sadc. However, you can simply invoke sar with a sampling interval and number of samples: e.g. sar -m 2 4 (sample every 2 seconds 4 times).

I doubt however that this metric is useful as it shows transactions/s.

Clay
If it ain't broke, I can fix that.