Mercurial > otakunoraifu
view 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 |
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 $_";'