Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More cgtop enhancements #30

Closed
wants to merge 4 commits into from
Closed

More cgtop enhancements #30

wants to merge 4 commits into from

Conversation

haraldh
Copy link
Member

@haraldh haraldh commented Jun 2, 2015

From: Charles Duffy chaduffy@cisco.com

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.

@zonque zonque added RFE 🎁 Request for Enhancement, i.e. a feature request cgroups labels Jun 2, 2015
@charles-dyfis-net
Copy link
Contributor

This also exists as #3; I suggest that this (imported-from-mail) version be closed in favor of the other.

@charles-dyfis-net
Copy link
Contributor

(One addition to this patchset not present when it was last submitted to the mailing list is 5e688f7; as I understand that Github is being used to drive the review and merge process going forward, is adding it to the PR here appropriate, or should this be brought up on the ML?)

@haraldh
Copy link
Member Author

haraldh commented Jun 3, 2015

I'll close this in favor of #3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cgroups RFE 🎁 Request for Enhancement, i.e. a feature request
Development

Successfully merging this pull request may close these issues.

None yet

3 participants