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

Add Raw bytes toggle #55

Merged
merged 2 commits into from
Feb 7, 2022
Merged

Add Raw bytes toggle #55

merged 2 commits into from
Feb 7, 2022

Conversation

wallyqs
Copy link
Member

@wallyqs wallyqs commented Feb 7, 2022

Adds b short cut to toggle raw bytes mode:

Command          Description
                                                     
o<option>        Set primary sort key to <option>.                      
                                                                        
                 Option can be one of: {cid|subs|pending|msgs_to|msgs_from|
                 bytes_to|bytes_from|idle|last}
                                                                                                                                      
                 This can be set in the command line too with -sort flag.                                                                                     

n<limit>         Set sample size of connections to request from the server.

                 This can be set in the command line as well via -n flag.
                 Note that if used in conjunction with sort, the server
                 would respect both options allowing queries like 'connection
                 with largest number of subscriptions': -n 1 -sort subs

s                Toggle displaying connection subscriptions.

d                Toggle activating DNS address lookup for clients.

*b                Toggle displaying raw bytes.*

q                Quit nats-top.

Press any key to continue...

Signed-off-by: Waldemar Quevedo <waldemar.quevedo@gmail.com>
Signed-off-by: Waldemar Quevedo <waldemar.quevedo@gmail.com>
@wallyqs wallyqs merged commit c99cb78 into nats-io:main Feb 7, 2022
@wallyqs wallyqs deleted the raw-bytes branch February 7, 2022 22:33
@dsidirop
Copy link
Contributor

dsidirop commented Feb 8, 2022

@wallyqs Thank you for being on top of things (no pun intended) :)

Please point out anything that you may find to be amiss on my pull-requests and I will sort it out asap.

Thank you again and be safe!

dsidirop pushed a commit to dsidirop/nats-top that referenced this pull request Feb 8, 2022
* 'main' of github.com:nats-io/nats-top:
  Add Raw bytes toggle (nats-io#55)
  nats-io#53 add -b flag to display traffic in raw bytes (nats-io#54)
dsidirop pushed a commit to dsidirop/nats-top that referenced this pull request Feb 8, 2022
…-top-extended

* 'main' of github.com:nats-io/nats-top:
  Add Raw bytes toggle (nats-io#55)
  nats-io#53 add -b flag to display traffic in raw bytes (nats-io#54)
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

Successfully merging this pull request may close these issues.

2 participants