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

[queuestat] add python CLI tool to show queue counters #234

Merged
merged 1 commit into from
Apr 7, 2018
Merged

Conversation

hui-ma
Copy link
Contributor

@hui-ma hui-ma commented Apr 7, 2018

CLI to show queue counters from counter DB. The tool can show incremental change on top of the previous snapshot too.

huima@huima-vm2:/datadrive/sonic-utilities/scripts$ ./queuestat -h
usage: queuestat [-h] [-v] [-p PORT] [-c] [-d]

Display the queue state and counters

optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-p PORT, --port PORT Show the queue conters for just one port
-c, --clear Clear previous stats and save new ones
-d, --delete Delete saved stats

Examples:
queuestat
queuestat -p Ethernet0
queuestat -c
queuestat -d

@hui-ma hui-ma requested a review from lguohan April 7, 2018 01:00
@hui-ma hui-ma merged commit 6407444 into master Apr 7, 2018
@lguohan lguohan deleted the queuestat branch April 7, 2018 20:46
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 18, 2022
60f5237 (HEAD, origin/202012) [multi-asic]: Udpate to use SonicDBConfig from swsscommon (sonic-net#219)
5c0d941 [201911][RFC1213]: Initialize lag oid map in reinit_data (sonic-net#234)

Signed-off-by: Suvarna Meenakshi <[email protected]>
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
Fix for vlan-id ACL filter introduced in SONiC 201911 sonic-net#234

Signed-off-by: Roman Savchuk <[email protected]>
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