Open rakikulkarni opened 5 years ago
%s cannot specify the unit, like bytes or bits. It can show the power of 10**3 is used when displaying the value, thus k (not K which is Kelvin), M ,G and so on. For my network interfaces, the throughput is shown below the graph with a gprint like the following:
GPRINT:inbits:AVERAGE:Avg\: %5.1lf %sb/s
which results in for instance '1.234 Mb/s'.
A correction on the previous message: the result is something like '123.4 Mb/s'.
When print of gprint is used on the network traffic interfaces, the SI unit "%s" will not say if the value returned is byte or KB, MB, or GB,