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

Fix alignment of -H output #18

Open
spook opened this issue Sep 1, 2019 · 0 comments
Open

Fix alignment of -H output #18

spook opened this issue Sep 1, 2019 · 0 comments

Comments

@spook
Copy link
Owner

spook commented Sep 1, 2019

Output can be misaligned a bit with --human-readable (-H) output.

Example:

# bin/sshping -H aspen.example.com
ssh-Login-Time:               2.44  s   <-- extra space
Minimum-Latency:               885 us
Median-Latency:               1.06 ms
Average-Latency:              1.13 ms
Average-Deviation:             294 us
Maximum-Latency:              5.40 ms
Echo-Count:                  1.00 kB   <-- Skewed by one here and down
Upload-Size:                 8.00 MB
Upload-Rate:                 6.83 MB/s
Download-Size:               8.00 MB
Download-Rate:               5.23 MB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant