Skip to content

Commit

Permalink
Enable all counters: queue, port, and pfcwd (#1814)
Browse files Browse the repository at this point in the history
* Enable all counters: queue, port, and pfcwd

* Fixed a small bug inside of sonic-utilities

* Another typo
  • Loading branch information
pavel-shirshov authored and lguohan committed Jun 26, 2018
1 parent 7ba08e5 commit d57bef5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion files/build_templates/enable_counters.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ Description=Enable SONiC counters

[Service]
Type=oneshot
ExecStart=/usr/bin/counterpoll queue enable
ExecStart=/bin/bash -c '/usr/bin/counterpoll queue enable ; /usr/bin/counterpoll port enable ; /usr/bin/pfcwd counter_poll enable'
RemainAfterExit=yes
2 changes: 1 addition & 1 deletion src/sonic-swss
2 changes: 1 addition & 1 deletion src/sonic-utilities

0 comments on commit d57bef5

Please sign in to comment.