[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Parallel Bug Reports Problems with --memfree option
From: |
Andreas Bernauer |
Subject: |
Re: GNU Parallel Bug Reports Problems with --memfree option |
Date: |
Thu, 13 Aug 2015 23:15:05 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
On 13/08/15 21:37, Ole Tange wrote:
> I think it should be MemFree + Buffers + Cached + SwapCached.
I agree - except for SwapCached which I don't know what it is.
>> Further, I'm wondering why parallel is grepping the buffers/cache line
>> instead of the 'free' column...
>
> It looks at the free column AND at the buffers/cache line.
>
> total used free shared buffers cached
> Mem: 32765028 32362040 402988 1063944 207564 11111620
> -/+ buffers/cache: 21042856 11722172
> Swap: 38920180 22764 38897416
>
> On this system GNU Parallel should find 11 G free, and not 0.4 G. The same
> here:
I agree. Did you mean to add 402988 and 11722172? Because I don't think
that line of parallel does that:
"linux" => q{ print (1024*((grep /buffers.cache/, `free`)[0] =~
/buffers.cache:\s+\S+\s+(\S+)/)[0]) },
-Andreas