]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/ceph_daemon.py: DaemonWatcher: fit display to window size
authorDan Mick <dan.mick@redhat.com>
Tue, 18 Apr 2017 22:24:22 +0000 (15:24 -0700)
committerDan Mick <dan.mick@redhat.com>
Tue, 25 Apr 2017 23:19:02 +0000 (16:19 -0700)
commit814aae9c134d4f2da9bb9372e9bf42170c606991
tree32865358e7fb7ccdc008e501ec93a4b1dd0d41a4
parentcecdadd3ee234d9c636f9f60880da7dffa467259
pybind/ceph_daemon.py: DaemonWatcher: fit display to window size

Keep track of terminal width/height, and output as many
candidate statistics as will fit in the window.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
src/pybind/ceph_daemon.py