view clear_ipc @ 47:5f548e5957a8

* get rid of the "deprecated conversion from string constant to ‘char*’" warnings
author thib
date Wed, 15 Apr 2009 20:26:32 +0000
parents 223b71206888
children
line wrap: on
line source

#!/bin/sh
# IPC ¤Îmessage queue¡¿shared memory ¤¬»Ä¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤¤¤ë
# »þ¤Ë¡¢¤½¤ì¤òÁ´Éô¾Ãµî¤¹¤ë¤¿¤á¤Î¥¹¥¯¥ê¥×¥È

killall -KILL test xlovesys xclannad
ipcs | grep '^q' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -q $_";'
ipcs | grep '^m' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -m $_";'
ipcs | grep '^s' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -s $_";'