Re: Counters in df, du
From: Alexey Vlasov
Date: Mon Jul 13 2009 - 16:11:05 EST
On Mon, Jul 13, 2009 at 03:58:36PM -0400, Bryan Donlan wrote:
> 2009/7/13 Alexey Vlasov <renton@xxxxxxxxxxx>:
> > # 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/