[Gllug] Possible to read shared memory from bash?
- Tethys
tethys at gmail.com
Thu Oct 5 13:51:03 UTC 2006
On 10/5/06, Julian Somers <lists at bigpip.com> wrote:
> Bash can see my shared memory block with `ipcs`, and delete it with
> `ipcrm -M $shmkey`. Is there a way to read its contents?
Not off the top of my head, no. But it should be trivial to knock up a
wrapper around shmat(3) that will give you access to shared memory
segments from a shell.
Tet
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list