Bug 460060
Summary: | clustat(8) truncates columnar output when stdout is not a TTY | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | John Morrissey <jwm> |
Component: | rgmanager | Assignee: | Lon Hohberger <lhh> |
Status: | CLOSED NOTABUG | QA Contact: | Cluster QE <mspqa-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 5.4 | CC: | cluster-maint, edamato, jrrs, phil |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-08-28 19:23:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
John Morrissey
2008-08-25 20:59:12 UTC
Use clustat -l or clustat -x Lon, any chance you'll re-consider... it seems you offered workarounds but it would be nice to fix this so that output isn't truncated. I don't see how that behavior is desirable or a 'feature'... but perhaps you can enlighten? (In reply to comment #1) > Use clustat -l or clustat -x both outputs are nontrivially more complex to parse than the default output. if the output is not a TTY then why ought clustat(8) assume to wield any jurisdiction over the column count of the output? by nature, it has NO IDEA where the data is going, so it should not make any assertions. it's clearly not a bug because the program is working precisely as designed. thus, it is a design flaw. if this behaviour is something that there is reason to believe other applications are already depending on (eg, the malformed/truncated output in the default output mode), it is not beyond reason to add a flag that allows the default output to do the right thing it ought to be doing already |