Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
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.