IBSWPORTWATCH(8)

πŸ“¦ version 61.1^20260812git975bdaf, in fedora 43, fedora 44

✨ 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 5 means five polls and she's out. the default is -1, and -1 means forever β€” she will literally just keep polling until the heat death of the universe or until you Ctrl-C her 😭 (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