annotate clear_ipc @ 72:f9eb96a4cce0

Register all (?) commands, to help finding non-implemented ones in game.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 02 Apr 2011 02:05:27 +0200 (2011-04-02)
parents 223b71206888
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
223b71206888 Initial import
thib
parents:
diff changeset
1 #!/bin/sh
223b71206888 Initial import
thib
parents:
diff changeset
2 # IPC ��message queue��shared memory ���ĤäƤ��ޤäƤ���
223b71206888 Initial import
thib
parents:
diff changeset
3 # ���ˡ�����������õ�뤿��Υ�����ץ�
223b71206888 Initial import
thib
parents:
diff changeset
4
223b71206888 Initial import
thib
parents:
diff changeset
5 killall -KILL test xlovesys xclannad
223b71206888 Initial import
thib
parents:
diff changeset
6 ipcs | grep '^q' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -q $_";'
223b71206888 Initial import
thib
parents:
diff changeset
7 ipcs | grep '^m' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -m $_";'
223b71206888 Initial import
thib
parents:
diff changeset
8 ipcs | grep '^s' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -s $_";'