view clear_ipc @ 70:281dcd7217df

Add all Air, Clannad and Kanon function names in scn2kdump, based on rldev’s names.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 01 Apr 2011 22:54:40 +0200
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 $_";'