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

Titles in graphs #59

Closed
benyanke opened this issue Feb 27, 2019 · 0 comments
Closed

Titles in graphs #59

benyanke opened this issue Feb 27, 2019 · 0 comments

Comments

@benyanke
Copy link

When diagnosing network issues, I sometimes open many windows in tmux. Without additional annotation, it's difficult to tell what graph is what host.

image

I'd like to propose putting the hostname being pinged in a corner of the screen.

wwade added a commit to wwade/gping that referenced this issue Sep 18, 2019
Strip out the common `ping` args (per platform, sorry windows), and find
the positional arguments.  For `ping`, the last positional argument
should be the hostname.  For Darwin, there really will be only a single
positional argument.

This is a fix for orf#59.

This respects args such as:
  gping -t5 myhost
  gping -t 5 myhost
  gping -h myhost
  gping -v myhost
  gping -A myhost
  gping myhost -t5
  gping xyz -t 5 -- myhost
@tylla tylla mentioned this issue Apr 24, 2020
@orf orf closed this as completed Nov 13, 2020
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

2 participants