Date: Tue, 25 Dec 2007 00:52:25 +0000 (UTC) From: Edwin Groothuis <edwin@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ipcs Makefile ipc.c ipc.h ipcs.c src/usr.bin/ipcrm Makefile ipcrm.1 ipcrm.c Message-ID: <200712250052.lBP0qPhr071807@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
edwin 2007-12-25 00:52:25 UTC FreeBSD src repository Modified files: usr.bin/ipcs Makefile ipcs.c usr.bin/ipcrm Makefile ipcrm.1 ipcrm.c Added files: usr.bin/ipcs ipc.c ipc.h Log: Add the ability to clean up all shared memory segments which are unused in one go. From the original PR: I've observed that linux apps running under the linuxulator have a habit of leaving behind shared memory segments which are unused, but which eventually cause the system to run out of free segments and these apps will stop working. ipcrm(1) currently only allows removal of unused message queues, shared memory segments and semaphores on an individual basis, or those having a matching (non-zero) key. However it would often be convenient to just do a complete cleanup of everything, usually as root. PR: bin/118292 Submitted by: Callum Gibson <callumgibson@optusnet.com.au> Not reviewed by: grog@ Approved by: grog@ Revision Changes Path 1.7 +5 -0 src/usr.bin/ipcrm/Makefile 1.15 +36 -1 src/usr.bin/ipcrm/ipcrm.1 1.13 +133 -18 src/usr.bin/ipcrm/ipcrm.c 1.8 +1 -0 src/usr.bin/ipcs/Makefile 1.1 +207 -0 src/usr.bin/ipcs/ipc.c (new) 1.1 +71 -0 src/usr.bin/ipcs/ipc.h (new) 1.31 +17 -197 src/usr.bin/ipcs/ipcs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712250052.lBP0qPhr071807>