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

[pfcwd]: Refine 'show stats' output #170

Merged
merged 1 commit into from
Dec 14, 2017
Merged

Conversation

marian-pritsak
Copy link
Collaborator

Group columns in OK/DROP pairs
Add option to show empty lines now hidden by default

Signed-off-by: marian-pritsak marianp@mellanox.com

Group columns in OK/DROP pairs
Add option to show empty lines now hidden by default

Signed-off-by: marian-pritsak <marianp@mellanox.com>
@marian-pritsak
Copy link
Collaborator Author

Before:

       QUEUE    STORM DETECTED CNT    STORM RESTORED CNT    TX PACKETS    RX PACKETS    TX PACKETS DROP    RX PACKETS DROP    TX PACKETS LAST    RX PACKETS LAST    TX PACKETS LAST DROP    RX PACKETS LAST DROP
------------  --------------------  --------------------  ------------  ------------  -----------------  -----------------  -----------------  -----------------  ----------------------  ----------------------
Ethernet64:3                     0                     0             0             0                  0                  0                  0                  0                       0                       0

After:

       QUEUE    STORM DETECTED/RESTORED    TX OK/DROP    RX OK/DROP    TX LAST OK/DROP    RX LAST OK/DROP
------------  -------------------------  ------------  ------------  -----------------  -----------------
Ethernet64:3                        1/0           0/0           0/0                0/0                0/0

@lguohan lguohan merged commit 8677d5f into sonic-net:master Dec 14, 2017
vdahiya12 pushed a commit to vdahiya12/sonic-utilities that referenced this pull request Jul 23, 2021
…in log (sonic-net#170)

Changed the chassis definition to be a part of the class do the chassis will be found in run() function

Without the change, an error appears in syslog:
`ERR pmon#thermalctld: Caught exception while running thermal policy - NameError("name 'chassis' is not defined")`
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