Mercurial > otakunoraifu
annotate clear_ipc @ 63:4b9ffe15a87d
Refactor Load/LoadSys
author | Thibaut GIRKA <thib@sitedethib.com> |
---|---|
date | Sat, 06 Feb 2010 17:29:33 +0100 (2010-02-06) |
parents | 223b71206888 |
children |
rev | line source |
---|---|
0 | 1 #!/bin/sh |
2 # IPC ��message queue��shared memory ���ĤäƤ��ޤäƤ��� | |
3 # ���ˡ�����������õ�뤿��Υ�����ץ� | |
4 | |
5 killall -KILL test xlovesys xclannad | |
6 ipcs | grep '^q' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -q $_";' | |
7 ipcs | grep '^m' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -m $_";' | |
8 ipcs | grep '^s' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -s $_";' |