Re: Shared memory usage

From: Hugh Dickins
Date: Tue Jan 17 2006 - 09:51:42 EST


On Mon, 16 Jan 2006, Ram Gupta wrote:
> Did you think about getting shared memory information using
> shmctl(IPC_STAT). It provides useful information but I am not sure if
> that will serve your purpose fully.

/proc/sysvipc/shm would be easier (showing for all the shmids).

But yes, these won't go very far towards "auditing all possible
communications channels". Nor would a "MemShared" number, nor
a total of "pages shared", whatever they mean.

Hugh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/