On Tue, 27 Jun 2017 19:42:51 +0800 =?utf-8?B?56mN5Li55bC8?= Dan Jacobson
wrote:
Package: procps
Version: 2:3.3.12-3
Severity: minor
File: /usr/bin/top
It turns out that
$ top
prints trailing blanks all the way to the right edge of the screen.
The problem is gone in -b batch mode, but in interactive mode,
especially from remote systems, all those trailing blanks double the size
of traffic, all for no good.
It's as if one needs sed 's/ \+$//' to clean them up.
Hi Dan,
You may have your top configured such that trailing spaces exist but
others may not. The phenomenon you cite only occurs when a variable
length field is displayed as the last field.
Besides, those trailing spaces are output only the first time a line is
printed or when the line changes. So you need not be concerned with
overhead the doesn't exist.
Regards,
Jim