[Gllug] Possible to read shared memory from bash?

Julian Somers lists at bigpip.com
Thu Oct 5 13:16:30 UTC 2006


Hi,

I have some php scripts that pass variables between themselves using
shared memory (using the shmop functions). This works very nicely.

It would be even nicer if some bash scripts that I have running on the
same machine were also able to read the strings that are written to
shared memory by php. 

Bash can see my shared memory block with `ipcs`, and delete it with
`ipcrm -M $shmkey`. Is there a way to read its contents?

thanks, Julian


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list