[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with GKrellM.............



 On Thu, 20 Jun 2013 10:06:27 +0100 "Darac Marjal
 mailinglist@darac.org.uk" sent this:

	>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.
>

Thanks Darac,

So the capital "K" is kilobytes.

Thanks for that.
Charlie
    -- 
	Registered Linux User:- 329524
	***********************************************

	Any sufficiently advanced technology is indistinguishable from
	magic. ------Arthur C Clarke

	***********************************************

	Debian GNU/Linux - just the best way to create magic

	-----------------------------------------------------


Reply to: