On Wed, Mar 01, 2000 at 11:54:35AM -0500, Adam wrote:
> #!/bin/sh
> ipcs | sed "s/[ ][ ]*/ /g" | cut -f 2 -d" " | sed
> "s/[^0-9]//g" | xargs -t -n 1 ipcrm -m
Always with the sed. ipcrm `ipcs -m | awk '$1 == "m" { print "-m " $2 }'`
anyone?
--
Christopher Masto Senior Network Monkey NetMonger Communications
[EMAIL PROTECTED] [EMAIL PROTECTED] http://www.netmonger.net
Free yourself, free your machine, free the daemon -- http://www.freebsd.org/
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
- Re: Shared memory - Was: 2 Queries Matthew Dillon
- Re: Shared memory - Was: 2 Queries Garrett Wollman
- Re: Shared memory - Was: 2 Queries Ade Lovett
- Re: Shared memory - Was: 2 Queries Christopher Masto
- Re: Shared memory - Was: 2 Queries Cliff Rowley
- Re: Shared memory - Was: 2 Queries Christopher Masto
- Re: Shared memory - Was: 2 Queries Alfred Perlstein
- Re: Shared memory - Was: 2 Queries Adam
- Re: Shared memory - Was: 2 Queries Alfred Perlstein
- Re: Shared memory - Was: 2 Queries Adam
- Re: Shared memory - Was: 2 Queries Christopher Masto
- Re: Shared memory - Was: 2 Queries Clive Lin
- Re: Shared memory - Was: 2 Queries Anton Berezin
- Re: Shared memory - Was: 2 Queries Christopher Masto
- Re: Shared memory - Was: 2 Queries John Polstra
- Re: Shared memory - Was: 2 Queries Christopher Masto
- Re: Shared memory - Was: 2 Queries Brooks Davis
- Re: Shared memory - Was: 2 Queries Poul-Henning Kamp
- Re: Shared memory - Was: 2 Queries Christopher Masto
- Re: Shared memory - Was: 2 Queries Narvi
- Process cleanup (was Shared memory ...) Lyndon Nerenberg
