Re: [dev] up/down KB/s retrieval?

From: Keith Bawden <keith_AT_bawdo.com>
Date: Fri, 9 Oct 2009 15:25:04 +0900

On Fri, Oct 9, 2009 at 14:52, Guy <patterson_AT_nullamatix.com> wrote:
> MEM="`free -m|grep \"buffers/cache\"|awk '{print $3}'`M"
>

Sorry not in answer to you main question, but you can get rid of that
grep there:

free -m|awk '/buffers\/cache/ {print $3}'

Regards, Keith
Received on Fri Oct 09 2009 - 06:25:04 UTC

This archive was generated by hypermail 2.2.0 : Fri Oct 09 2009 - 06:36:03 UTC