---
name: "ibclearcounters"
section: "8"
platform: "linux"
package: "infiniband-diags"
version: "1.6.7-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ibclearcounters"
---

# ibclearcounters(8)

clear port counters in IB subnet

## NAME

ibclearcounters - clear port counters in IB subnet

## SYNOPSIS

**ibclearcounters** \[-h\] \[\<topology-file\> \| -C ca\_name -P ca\_port -t(imeout) timeout\_ms\]

## DESCRIPTION

ibclearcounters is a script that clears the PMA port counters by either walking the IB subnet topology or using an already saved topology file.

## OPTIONS

\-C \<ca\_name\>    use the specified ca\_name.

\-P \<ca\_port\>    use the specified ca\_port.

\-t \<timeout\_ms\> override the default timeout for the solicited mads.

## SEE ALSO

**[ibnetdiscover(8)](/ibnetdiscover/8.md),** **[perfquery(8)](/perfquery/8.md)**

## AUTHOR

- Hal Rosenstock

  \<*halr@voltaire.com*\>
