On Wed, 27.05.15 17:40, Charles Duffy ([email protected]) wrote:

> From: Charles Duffy <[email protected]>
> 
> In addition to the previously-submitted patch adding support for "raw" 
> (numeric
> byte-count, as opposed to human-readable) values, this series adds several new
> enhancements:
> 
> - Allow the user to specify a strftime-compatible string to use as header.
> - Retain default behavior of using only one iteration when output is not to a
>   TTY, but allow endless looping or a set iteration count to be selected.
> - Improve output format in the non-TTY case for easy parsing (separating
>   batches with an empty line, rather than the de facto "\r \r" string intended
>   to clear artifacts from user input, and ensuring that flushing stdout 
> happens
>   *before* the sleep between runs).
> 
> The strftime support, by its nature, requires use of an externally-provided
> format string; consequently, an appropriate pragma is used to suppress 
> warnings
> from gcc. Feedback appreciated.
> 
> Charles Duffy (4):
>   cgtop: raw output option (disable conversion to human-readable units)
>   cgtop: allow user to force looping behavior even in non-TTY mode
>   cgtop: more sensible flushing behavior w/ non-TTY output
>   cgtop: support time header with user-specified format string

For the sake of the archives: this patch set got reworked and merged
as:

https://github.com/systemd/systemd/pull/3

Lennart

-- 
Lennart Poettering, Red Hat
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to