S: Get the shared memory back after crashed processes ate it?

From: <boris_at_gore.afep.cornell.edu>
Date: Wed, 13 Mar 96 13:19:00 -0500

In short, the question was:
        Is there a way to get the shared memory back in some controlled manner?

In short the answer is:

ipcs -m | awk '{ printf("ipcrm -m %d\n",$2);}' | sh > /dev/null 2>&1

Read the man pages for ipcs and ipcrm to actually understand what you are doing.

Those responses are coming in fast and furious! It's kind of embarrasing when
you ask a question that everybody knows the answer to. So far:

 Paul A Sand <pas_at_keokuk.unh.edu>
 "George W. Baltz" <gwb_at_umd5.umd.edu>
 Gyula Szokoly <szgyula_at_skysrv.Pha.Jhu.EDU>
 maillard_at_atyisa.enet.dec.com

Thanks, Boris
Received on Wed Mar 13 1996 - 19:56:09 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT