1836472 Members
2096 Online
110101 Solutions
New Discussion

Re: Unused IPC resources

 

Unused IPC resources

What is the best way to find unused IPC resources (shared memory, semaphores)


Laszlo
5 REPLIES 5
Dan Hetzel
Honored Contributor

Re: Unused IPC resources

Hi Laszlo,

Not sure this is what you're looking for but
ipcs -a
will report status of IPC facilities.

Dan


Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com

Re: Unused IPC resources

How do I know if it's free or not?
For instance:

ipcs -amp
m oratst 20030 22185

(Well, I deleted the biggest part)
This shows shared memory and CPID, LPID values. These are useless.

How can I determine that a shared memory segment is attached to any process or not?
CHRIS_ANORUO
Honored Contributor

Re: Unused IPC resources

You can use adb commands to find out. Check this attached documentation, it will help out a lot:
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
CHRIS_ANORUO
Honored Contributor

Re: Unused IPC resources

To find out the shared memory allocation use ipcs -mob and Glance to dig into it as per processes. Go through te attached document in my previous contribution.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.

Re: Unused IPC resources

Thanx Chris,

ipcs -mob is what I was looking for.

Laszlo