mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 09:58:01 +00:00
From: Jakub Sitnicki <jkbs@redhat.com> Facilitate checking coverage counters from scripts and tests with a new coverage/read-counter command that gets the total count for a counter. Same could be achieved by scraping the output of coverage/show command but the difficulties there are that output is in human readable format and zero-value counters are not listed. Signed-off-by: Jakub Sitnicki <jkbs@redhat.com> Acked-by: Han Zhou <hzhou8@ebay.com> Signed-off-by: Han Zhou <hzhou8@ebay.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
16 lines
718 B
Groff
16 lines
718 B
Groff
.SS "COVERAGE COMMANDS"
|
|
These commands manage \fB\*(PN\fR's ``coverage counters,'' which count
|
|
the number of times particular events occur during a daemon's runtime.
|
|
In addition to these commands, \fB\*(PN\fR automatically logs coverage
|
|
counter values, at \fBINFO\fR level, when it detects that the daemon's
|
|
main loop takes unusually long to run.
|
|
.PP
|
|
Coverage counters are useful mainly for performance analysis and
|
|
debugging.
|
|
.IP "\fBcoverage/show\fR"
|
|
Displays the averaged per-second rates for the last few seconds, the
|
|
last minute and the last hour, and the total counts of all of the
|
|
coverage counters.
|
|
.IP "\fBcoverage/read-counter\fR \fIcounter\fR"
|
|
Displays the total count for the given coverage \fIcounter\fR.
|