[systemd-devel] [PATCH] cgtop: raw output option (disable conversion to human-readable units) [r2]

Charles Duffy charles at dyfis.net
Fri May 22 15:44:46 PDT 2015

From: Charles Duffy <chaduffy at cisco.com>

Replace the single -r ("raw") option with separate flags for memory and IO,
patterned off of --cpu[=TYPE], per feedback from Umut.

Fold repeated conditional logic around formatting into a static function, per
feedback from Zbyszek.

Charles Duffy (1):
  cgtop: add options to format memory, IO usage in raw bytes

 src/cgtop/cgtop.c | 64 ++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 51 insertions(+), 13 deletions(-)


More information about the systemd-devel mailing list