Skip to content

Some columns get larger when width is too small. #68

Description

@jonmeredith

If terminal width is too small the some columns are made wider than normal.
Perhaps we should break into multiple outputs if insufficient width.

ubuntu@riak105:~$ sudo riak-admin handoff details
Type Key: O = Ownership, H = Hinted, Rz = Resize, Rp = Repair
+-------------+--+-------+----+---------------+---------------++
|    Type     |So|Target:|Size|  Rate (KB/s)  |       %       ||
+-------------+--+-------+----+---------------+---------------++
|      O      |ri|riak@ri|611.|    608.96     |    329.16     ||
|      O      |ri|riak@ri|686.|    603.99     |    287.46     ||
+-------------+--+-------+----+---------------+---------------++
ubuntu@riak105:~$ 
ubuntu@riak105:~$ sudo riak-admin handoff details
Type Key: O = Ownership, H = Hinted, Rz = Resize, Rp = Repair
+----+-------------------+-------------------+--------+-----------+------+------------------+
|Type|     Source:ID     |     Target:ID     |  Size  |Rate (KB/s)|  %   |      Sender      |
+----+-------------------+-------------------+--------+-----------+------+------------------+
| O  |riak@riak102.aws:17|riak@riak105.aws:17|661.3 MB|  910.14   | 16.11|<25397.31465.1017>|
| O  |riak@riak103.aws:42|riak@riak105.aws:42|704.4 MB|  846.67   | 22.39|<25398.4560.1436> |
+----+-------------------+-------------------+--------+-----------+------+------------------+

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions