ethextractperf2(8)
π ethextractperf2 π
okay bestie, gather round, because this one is from the EFSFFCLIRG man page family and it's genuinely so useful β it's ethextractperf2, section 8 of the manual. she gives you a report of all per link performance counters in a CSV format, which is exactly what you want if you're importing into a spreadsheet or letting other scripts parse it for further analysis. it's giving data girlie. π
β¨ NAME β¨
ethextractperf2
Provides a report of all per link performance counters in a CSV format suitable for importing into a spreadsheet or parsed by other scripts for further analysis. It does this by generating a detailed ethreport component summary report and piping the result to ethxmlextract, extracting element values for NodeDesc, IfAddr, PortNum, neighbor NodeDesc, neighbor IfAddr, neighbor PortNum and all the performance counters. This script can be used as a sample for creating custom per link reports. π¦
πΈ Syntax πΈ
ethextractperf2 [ethreport options]
π Options π
--helpβ Produces full help text. (the moment you need it, she's there π«Ά)- ethreport options β The following options are passed to
ethreport. This subset is considered typical and useful for this command. Do not use the-o/--outputreport option.-X/--infilesnapshot_input β Generates a report using the data in the snapshot_input file. snapshot_input must have been generated during a previous-o snapshotrun.'-'may be used as the snapshot_input to specify stdin.-T/--topologytopology_input β Uses topology_input file to augment and verify fabric information. When used, various reports can be augmented with information not available electronically.'-'may be used to specify stdin.-E/--ethconfig_file β Specifies the Ethernet management configuration file. Default is/etc/eth-tools/mgt_config.xmlfile.-pplane β Specifies the name of the enabled plane defined in Mgt config file, default is the first enabled plane.-F/--focuspoint β Specifies the focus area for report. Used to limit scope of report. Refer to Point Syntax for details.
π Point Syntax π
okay this part is the main character energy of the whole page β it's how you tell her where to look. no cap, every single one of these is valid. π
ifid:valueβ value is numeric ifid.ifid:value:nodeβ value is numeric ifid, selects node with given ifid.ifid:value:port:value2β value is numeric ifid of node, value2 is port number.ifid:value:portid:value2β value is numeric ifid of node, value2 is port id.mgmtifaddr:valueβ value is numeric port mgmtifaddr.ifaddr:valueβ value is numeric node ifaddr.ifaddr:value1:port:value2β value1 is numeric node ifaddr, value2 is port number.ifaddr:value1:portid:value2β value1 is numeric node ifaddr, value2 is port id.chassisid:valueβ value is numeric chassisid.chassisid:value1:port:value2β value1 is numeric chassisid, value2 is port number.chassisid:value1:portid:value2β value1 is numeric chassisid, value2 is port id.node:valueβ value is node description (node name).node:value1:port:value2β value1 is node description (node name), value2 is port number.node:value1:portid:value2β value1 is node description (node name), value2 is port id.nodepat:valueβ value is glob pattern for node description (node name).nodepat:value1:port:value2β value1 is the glob pattern for the node description (node name), value2 is port number.nodepat:value1:portid:value2β value1 is the glob pattern for the node description (node name), value2 is port id.nodedetpat:valueβ value is glob pattern for node details.nodedetpat:value1:port:value2β value1 is the glob pattern for the node details, value2 is port number.nodedetpat:value1:portid:value2β value1 is the glob pattern for the node details, value2 is port id.nodetype:valueβ value is node type (SWorNIC).nodetype:value1:port:value2β value1 is node type (SWorNIC), value2 is port number.nodetype:value1:portid:value2β value1 is node type (SWorNIC), value2 is port id.rate:valueβ value is string for rate (25g,50g,75g,100g), omits switch mgmt port 0.portstate:valueβ value is a string for state (up,down,testing,unknown,dormant,notactive).portphysstate:valueβ value is a string for PHYs state (other,unknown,operational,standby,shutdown,reset).mtucap:valueβ value is MTU size (maximum size65535), omits switch mgmt port 0.linkdetpat:valueβ value is glob pattern for link details.portdetpat:valueβ value is glob pattern for port details.nodepatfile:FILENAMEβ Specifies the name of file with the list of nodepats or node descriptions.nodepairpatfile:FILENAMEβ Specifies the name of file with the list of node pairs, separated by a colon.ldrβ Specifies the ports with a non-zero link down reason or neighbor link down reason.ldr:valueβ Specifies the ports with a link down reason or neighbor link down reason equal to value.
π§ Example π§
like, literally just run it bestie, it's that easy:
ethextractperf2
π See Also π
ethmergeperf2β her sister, go say hi π
and that's the whole vibe check, fr fr. π
Copyright(C) 2020-2024 Intel Corporation β shoutout to Intel for the whole thing, and yeah, this was ethextractperf2(8) the entire time. slay, ate, no crumbs. π
β¨π
π¦ where this page comes from
- centos-stream 9: eth-tools-fastfabric 1:12.1.0.0-4.el9 Β· BSD
- fedora 43: eth-tools-fastfabric 1:12.1.0.0-151.fc43 Β· BSD-3-Clause
- fedora 44: eth-tools-fastfabric 1:12.1.0.1-6.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: eth-fastfabric 11.7.0.0-160000.2.2 Β· BSD-3-Clause OR GPL-2.0-only
- Copyright 2020-2024, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms