IBSWPORTWATCH(8)
β¨ IBSWPORTWATCH β¨
okay bestie, so this is a page from the OpenIB Diagnostics manual β it's ibswportwatch.pl, section 8 (that's the sysadmin-y section, we love her π
). She's a little Perl script whose whole personality is watching one port and telling you how fast its counters are moving. No cap.
πΈ NAME πΈ
ibswportwatch.pl β poll the counters on the specified switch/port and report rate of change information.
periodt. that's the job. she polls, she computes the rate of change, she reports. that's it, that's the whole vibe π¦
π SYNOPSIS π
ibswportwatch.pl [-p <pause_time> -v -n <cycles> -G] <guid|lid> <port>
so you hand her an address β either a <guid> or a <lid>, your choice β plus a <port>, and optionally some flags, and she goes to work. the flags live in the brackets, so technically they're optional, but bestie you will want some of them. iykyk π
π DESCRIPTION π
ibswportwatch.pl polls the port counters of the specified port and calculates rate of change information.
that's the whole thing fr fr. she's sitting there, refreshing those counters on a loop, doing the math on how much they changed between polls, and handing you the delta energy instead of just a boring raw number. it's giving data scientist but make it a switch port. obsessed. π₯
π OPTIONS π
-p <pause_time>β tell her to pause for a different amount of time between polls (this is your polling interval). if you don't pass it, she just uses the default, no drama π-vβ be verbose. she'll talk more. more info, more chatter, more her. β¨-n <cycles>β run for a set number of poll intervals and then stop. so like,-n 5means five polls and she's out. the default is-1, and-1means forever β she will literally just keep polling until the heat death of the universe or until youCtrl-Cher π (default ==-1== forever)-Gβ the address you handed her is a GUID, not a LID. she needs this heads-up or she'll be looking for the wrong kind of address entirely, and that's an awkward moment for everyone π«Ά
π AUTHOR π
Ira Weiny β <weiny2@llnl.gov>
iconic. thank you Ira, we appreciate you π₯Ήπ
and that's the whole page bestie!! this came from OpenIB, dated September 27, 2006 (yes she's an elder, and yes she still slays), and she lives in section 8 as IBSWPORTWATCH(8) π go poll something, ily, bye!! ππ¦β¨
π¦ where this page comes from
- fedora 43: infiniband-diags-compat 58.0-4.fc43 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: infiniband-diags-compat 61.0-2.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- fedora 44: infiniband-diags-compat 61.1^20260812git975bdaf-1.fc44 Β· GPL-2.0-only OR BSD-2-Clause AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms