No subject


Fri Jan 31 06:23:24 EST 2014


>From suter  Sat Nov 17 22:45:11 2001
Return-Path: <majordom at caliburn.humbug.org.au>
Received: from diadora.client.uq.net.au (IDENT:root at diadora-2 [10.0.1.2])
	by zwitterion.humbug.org.au (8.12.1/8.12.1/Debian -2) with ESMTP id fAHCiKdg016991
	for <suter at zwitterion.humbug.org.au>; Sat, 17 Nov 2001 22:45:11 +1000
Received: from mailhub2.uq.edu.au (mailhub2.uq.edu.au [130.102.5.59])
	by diadora.client.uq.net.au (8.12.1/8.12.1/Debian -2) with ESMTP id fAHCaevW005350
	for <suter at zwitterion.humbug.org.au>; Sat, 17 Nov 2001 22:36:40 +1000
Received: from caliburn (mail at caliburn.humbug.org.au [203.15.51.6])
	by mailhub2.uq.edu.au (8.11.6/8.11.6) with ESMTP id fAHBxas07965
	for <suter at zwitterion.humbug.org.au>; Sat, 17 Nov 2001 21:59:36 +1000 (EST)
Received: from majordom by caliburn with local (Exim 3.12 #1 (Debian))
	id 1653CC-0000WJ-00
	for <general-outgoing at lists.humbug.org.au>; Sat, 17 Nov 2001 20:59:36 +1000
Received: from fox.uq.net.au
	([203.101.255.1] helo=uq.net.au ident=root)
	by caliburn with esmtp (Exim 3.12 #1 (Debian))
	id 1653C9-0000WE-00
	for <general at lists.humbug.org.au>; Sat, 17 Nov 2001 20:59:34 +1000
Received: from freezer.home (mail at d-15-99.stlucia.uq.net.au [203.100.15.99])
	by uq.net.au (8.9.3/8.9.3) with ESMTP id XAA27070
	for <general at lists.humbug.org.au>; Fri, 16 Nov 2001 23:36:01 +1000 (GMT+1000)
Received: from henry by freezer.home with local (Exim 3.32 #1 (Debian))
	id 164j9x-0000EU-00; Fri, 16 Nov 2001 23:35:57 +1000
To: general at lists.humbug.org.au
Subject: Re: [H-GEN] Fun One-Liner
References: <87elmzw688.fsf at freezer.home>
	<20011116182956.D12754 at zwitterion.humbug.org.au>
From: Jason Henry Parker <jasonp at uq.net.au>
Date: 16 Nov 2001 23:35:57 +1000
In-Reply-To: <20011116182956.D12754 at zwitterion.humbug.org.au>
Message-ID: <87adxmx2gy.fsf at freezer.home>
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Precedence: bulk
Reply-To: general at lists.humbug.org.au
X-Loop: general at lists.humbug.org.au
List-Help: <mailto:majordomo at lists.humbug.org.au?subject=help>
List-Post: <mailto:general at lists.humbug.org.au>
List-Subscribe: <mailto: general-request at lists.humbug.org.au?subject=subscribe>
List-Id: semi-serious discussions about Humbug and Unix-related topics <general at lists.humbug.org.au>
List-Unsubscribe: <mailto: general-request at lists.humbug.org.au?subject=unsubscribe>
List-Archive: <http://archive.humbug.org.au/humbug-general/>
Sender: Majordomo <majordom at caliburn.humbug.org.au>
Status: RO
Content-Length: 1296
Lines: 24

[ Humbug *General* list - semi-serious discussions about Humbug and  ]
[ Unix-related topics.  Please observe the list's charter.           ]
[ Worthwhile understanding: http://www.humbug.org.au/netiquette.html ]

Mark Suter <suter at zwitterion.humbug.org.au> writes:

> You call that monster a one-liner!?

Pffff.  It was formatted for the unwashed masses.  It was on one line
when I typed it.

> Try the following on for size.  I've opted for bug-for-bug

Bugs?  What bugs?

Though I do see Anthony has posted the command I was *really* looking
for.  (It would be nice if fuser could supply this information, too.)

>     grep -l 'deleted)$' /proc/*/maps |
>     perl -F/ -ane'++$P{$F[2]}}{print grep{$P{(split)[1]}}`ps awwux`'

Much better.  I especially like tacking the qx// on as the subject of
the grep.
-- 
||----|---|------------|--|-------|------|-----------|-#---|-|--|------||
| The Proud Tower, Barbara Tuchman            http://linux.org.au/conf/ |
| A History of Mathematics, Carl B. Boyer              jasonp at uq.net.au |
||--|--------|--------------|----|-------------|------|---------|-----|-|

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.



More information about the General mailing list