On Thu, Jun 20, 2013 at 03:30:26PM +1000, Charlie wrote:
> 
>               I use GKrellM to monitor some things including my
>               Ethernet  connection on a Debian Wheezy Operating
>               system on an Acer 3614WLCI Aspire laptop with 512MB RAM.
> 
> I know the computer is old, but GKrellM registers my Ethernet as 235 or
> 345 or 180 or 4.1K or 2.6K or whatever.
> 
> I have googles it but I'm obviously too thick to understand it, what
> are the plain numbers and I think the "K" numbers are ? Kilobits not
> Kilobytes.
> 
> Can someone who knows, just give me some pointers of what I'm reading on
> GKrellM please.

As the saying goes "Use the source, Luke"...

In src/net.c in the upstream tarball I find the following at line 1156:

static GkrellmSizeAbbrev        current_bytes_abbrev[]  =
        {
        { KB_SIZE(1),           1,                              "%.0f" },
        { KB_SIZE(20),          KB_SIZE(1),             "%.1fK" },
        { MB_SIZE(1),           KB_SIZE(1),             "%.0fK" },
...

So it would appear to indicate kiloBYTES.

Attachment: signature.asc
Description: Digital signature

Reply via email to