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

# ibdatacounts(8)

get IB port data counters

## NAME

ibdatacounts - get IB port data counters

## SYNOPSIS

**ibdatacounts** \[-h\] \[-b\] \[-v\] \[-G\] \[-N \| -nocolor\] \[-C ca\_name\] \[-P ca\_port\] \[-t(imeout) timeout\_ms\] \<lid\|guid\> \[\<port\>\]

## DESCRIPTION

Obtain PMA data counters from specified port (or node). Port address is lid unless -G option is used to specify a GUID address.

## OPTIONS

\-G      use GUID address argument. In most cases, it is the Port GUID.\
         Example:\
         "0x08f1040023"

\-v      increase the verbosity level

\-b      brief mode

\-N \| -nocolor use mono rather than color mode

\-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.

## EXAMPLE

ibdatacounts 2           # show data counters for lid 2

ibdatacounts 2   4       # show data counters for lid 2 port 4

## SEE ALSO

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

## AUTHOR

- Hal Rosenstock

  \<*halr@voltaire.com*\>
