Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756988AbZGMUK7 (ORCPT ); Mon, 13 Jul 2009 16:10:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756972AbZGMUK6 (ORCPT ); Mon, 13 Jul 2009 16:10:58 -0400 Received: from smtp.df.ru ([195.42.160.16]:52780 "EHLO smtp.df.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756970AbZGMUK6 (ORCPT ); Mon, 13 Jul 2009 16:10:58 -0400 Date: Tue, 14 Jul 2009 00:11:47 +0400 From: Alexey Vlasov To: Bryan Donlan Cc: Andi Kleen , linux-kernel@vger.kernel.org Subject: Re: Counters in df, du Message-ID: <20090713201147.GD5569@beaver.vrungel.ru> References: <20090713081106.GA5569@beaver.vrungel.ru> <87fxd19cfq.fsf@basil.nowhere.org> <20090713113252.GB5569@beaver.vrungel.ru> <3e8340490907130654i3d00aa6dt9118004c2fd94689@mail.gmail.com> <20090713195558.GC5569@beaver.vrungel.ru> <3e8340490907131258g35c422ebm5a3147f9a80fd6eb@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <3e8340490907131258g35c422ebm5a3147f9a80fd6eb@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 25 On Mon, Jul 13, 2009 at 03:58:36PM -0400, Bryan Donlan wrote: > 2009/7/13 Alexey Vlasov : > > # lsof -n /tmp | awk '/deleted/ {if ($7 != 0) print$0}' > > > > mysqld ? ?22905 ? ? ? ? ? ? ? ? ? ? ? ? ?mysql ? ?6u ? REG > > 0,13 ? ?20 663938322 /tmp/ib1oZTSZ (deleted) > > mysqld ? ?22905 ? ? ? ? ? ? ? ? ? ? ? ? ?mysql ? ?8u ? REG > > 0,13 84773 663938424 /tmp/ibRcarbD (deleted) > > > > # df -h /tmp > > Filesystem ? ? ? ? ? ?Size ?Used Avail Use% Mounted on > > tmpfs ? ? ? ? ? ? ? ? 4.1G ?3.4G ?630M ?85% /tmp > > Are those the only two results? That should only be adding up to ~84kb > of space... Yes, only two lines where the 7-th column isn't equal to 0 -- BRGDS. Alexey Vlasov. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/