root/clear_ipc

Revision 0:223b71206888, 386 bytes (checked in by thib, 4 years ago)
Initial import
  • Property exe set to *
Line 
1#!/bin/sh
2# IPC €Îmessage queue¡¿shared memory €¬»Ä€Ã€Æ€·€Þ€Ã€Æ€€€ë
3# »þ€Ë¡¢€œ€ì€òÁŽÉôŸÃµî€¹€ë€¿€á€Î¥¹¥¯¥ê¥×¥È
4
5killall -KILL test xlovesys xclannad
6ipcs | grep '^q' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -q $_";'
7ipcs | grep '^m' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -m $_";'
8ipcs | grep '^s' | awk '{print $2;}' | perl -ne 'chomp; system "ipcrm -s $_";'
Note: See TracBrowser for help on using the browser.