Solved

What shared memory segments are associated with a process?

Posted on 2010-08-24
2
478 Views
Last Modified: 2013-11-17
In Linux (ES3/5) I am able to identify the shared memory segments that are associated with a given process, viz.

ds90g> for a in */maps ; do^Jcat $a | grep SYSV^Jdone
67f5b000-68161000 rw-s 00000000 00:06 5537800    /SYSV00000000 (deleted)
87f5b000-87fdb000 rw-s 00000000 00:06 5472262    /SYSV00000dbc (deleted)
67f5b000-68161000 rw-s 00000000 00:06 5537800    /SYSV00000000 (deleted)
87f5b000-87fdb000 rw-s 00000000 00:06 5472262    /SYSV00000dbc (deleted)
67f5b000-68161000 rw-s 00000000 00:06 5537800    /SYSV00000000 (deleted)
77f5b000-77fdb000 rw-s 00000000 00:06 5505031    /SYSV00000dbe (deleted)
87f5b000-87fdb000 rw-s 00000000 00:06 5472262    /SYSV00000dbc (deleted)
67f5b000-68161000 rw-s 00000000 00:06 5537800    /SYSV00000000 (deleted)
77f5b000-77fdb000 rw-s 00000000 00:06 5505031    /SYSV00000dbe (deleted)
87f5b000-87fdb000 rw-s 00000000 00:06 5472262    /SYSV00000dbc (deleted)

However, I do not know the equivalent method in AIX (5.x, 6.x). Is there one?

Cheers,
Mark
0
Comment
Question by:UnifySupport
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33508511
Hi,
use
ipcs -m -a
The PID of the creating process is in the cPID column, the PID of the process that last attached or detached the segment is in the LPID column.
"-m" (see above) shows shared memory segments. To see message queues use "-q" instead, to see semaphores use "-s" instead.
Or use "-a" to see all of the three.
wmp
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 250 total points
ID: 33508586
... and to explore the virtual memory usage of a process further, try
svmon -P pid
 
 
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
phantom space used up on RHEL?  (du shows no space used) 1 91
LastLogonTimeStamp Attribute 7 49
auto mounter on solaris 1 79
AIX 5.x set up arrow to recall 11 71
Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question