[systemd-devel] [PATCH] cgtop raw output option
Charles Duffy
charles at dyfis.net
Fri May 22 14:56:14 PDT 2015
From: Charles Duffy <chaduffy at cisco.com>
At present, systemd-cgtop converts quantities in bytes (memory and IO bandwidth
values) to human-readable form unconditionally.
Given as batch mode already exists as a supported option, there clearly is
intent for cgtop to be usable with data routed to locations other than
(directly) to human eyeballs. Given such, an option to skip this processing and
emit raw numbers (in bytes) for these values is sensible.
Charles Duffy (1):
cgtop: raw output option (disable conversion to human-readable units)
src/cgtop/cgtop.c | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
--
2.0.0
More information about the systemd-devel
mailing list