|
NAMEovs-dpctl-top - Top like behavior for ovs-dpctl dump-flowsSYNOPSISovs-dpctl-top [-h] [-v] [-f FLOWFILES] [-V] [-s] [--host HOST] [-a | --accumulate] [--accumulate-decay ACCUMULATEDECAY] [-d DELAY]DESCRIPTIONThis program summarizes ovs-dpctl flow content by aggregating the number of packets, total bytes and occurrence of the following fields:
Output shows four values:
Top BehaviorWhile in top mode, the default behavior, the following single character commands are supported:
Accumulate ModeThere are two supported modes: live and accumulate. The default is live. The parameter --accumulate or the 'a' character in top mode enables the latter. In live mode, recent dump-flow content is presented. Where as accumulate mode keeps track of the prior historical information until the flow is reset not when the flow is purged. Reset flows are determined when the packet count for a flow has decreased from its previous sample. There is one caveat, eventually the system will run out of memory if, after the accumulate-decay period any flows that have not been refreshed are purged. The goal here is to free memory of flows that are not active. Statistics are not decremented. Their purpose is to reflect the overall history of the flow fields.Debugging ErrorsParsing errors are counted and displayed in the status line at the beginning of the output. Use the --verbose option with --script to see what output was not parsed, like this:$ ovs-dpctl dump-flows | ovs-dpctl-top --script --verbose Error messages will identify content that failed to parse. Access Remote HostsThe --host must follow the format user@hostname. This script simply calls 'ssh user@Hostname' without checking for login credentials therefore public keys should be installed on the system identified by hostname, such as:$ ssh-copy-id user@hostname Consult ssh-copy-id man pages for more details. Expected usage$ ovs-dpctl-topor to run as a script: $ ovs-dpctl dump-flows > dump-flows.log $ ovs-dpctl-top --script --flow-file dump-flows.log OPTIONS
Visit the GSP FreeBSD Man Page Interface. |