view clear_ipc @ 56:c7bcc0ec2267

* replaced Grp and Text classes by the TextImpl and GrpImpl ones * splitted scn2k.h into smaller header files * moved some definitions from scn2k_*.cc to the header files * moved opcode implementation to scn2k_*impl.cc
author thib
date Thu, 30 Apr 2009 19:05:09 +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 $_";'