Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Mar 2000 11:54:35 -0500 (EST)
From:      Adam <bsdx@looksharp.net>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Cliff Rowley <dozprompt@onsea.com>, Christopher Masto <chris@netmonger.net>, freebsd-current@FreeBSD.ORG
Subject:   Re: Shared memory - Was: 2 Queries
Message-ID:  <Pine.BSF.4.21.0003011153380.2334-100000@turtle.looksharp.net>
In-Reply-To: <20000301075833.R21720@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 1 Mar 2000, Alfred Perlstein wrote:

>I used to have a shell script to do this, but i don't know where it
>went.
>
>-- 
>-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]

I do! (line is wrapped)

#!/bin/sh
ipcs | sed "s/[       ][      ]*/ /g" | cut -f 2 -d" " | sed
"s/[^0-9]//g" | xargs -t -n 1 ipcrm -m 




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0003011153380.2334-100000>