GENWQE_PEEK(1)
β¨ GENWQE_PEEK π
okay bestie, gather round, because we're talking about genwqe_peek β a little cutie from the User Commands corner of the manual, section 1, and it's an IBM Hardware Accelerator Tool. yes that's the whole vibe. it peeks at hardware registers and tells you what it saw. main character energy ngl π¦
πΈ NAME πΈ
genwqe_peek β IBM Hardware Accelerator Tool. π
that's it. that's the name section. short, sweet, iconic.
π SYNOPSIS π
genwqe_peek [-h] [-v,--verbose]
she's lowkey minimal in the synopsis and then the DESCRIPTION goes absolutely feral with options. classic. π
π DESCRIPTION π
so here's the whole menu of flags, bestie. every single one, no skips, no cuts, because we don't gatekeep here. π«Ά
π the flags π
-C,--card<cardno> β which card are we peeking at? it can be (0...3) π³-A,--accelerator-type=GENWQE|CAPIβ pick your accelerator type:GENWQEorCAPI. heads up though: CAPI is only available for System p β οΈ (iykyk)-V,--versionβ print version. that's it. she tells you who she is. π-q,--quietβ quiece output. (yes, "quiece" β the original says it like that and I'm not gonna gaslight you, we keep it fr fr) π€«-w,--width<32|64> β access width.64: default π§-X,--cpu<id> β only run on this CPU. one CPU. exclusive. no sharing bestie. π-i,--interval<intv> β interval in usec,0: default β±οΈ-c,--count<num> β number of peeks do be done,1: default π’ (yes it says "do be done", we love a grammatically adventurous icon)-e,--must-be<value> β compare and exit if not equal π―-n,--must-not-be<value> β compare and exit if equal π«-a,--and-mask<value> β mask read value before compare π-p,--psl-bar<bar> β access PSL bar (CAPI only) π§±
and then there's:
<addr> β the address you're peeking at, obviously. the whole point of the operation. β¨
π Example: π
genwqe_peek 0x0000 [00000000] 000000021032a178
π for CAPI card (-A CAPI): π
here's the register map, bestie, laid out for you like a lil tour:
- Reg
0x0000β CAPI Card Version Reg 1 (RO) π - Reg
0x0008β CAPI Card Version Reg 2 (RO) π - Reg
0x0080β CAPI Card Free Run Timer in 4 nsec (RO) β³ - Reg
0x0180β Queue Work Time in 4 nsec (RO) β³ - Reg
0x1000...0x1028β 6 Fir Registers (RW) π₯
π Only CAPI (debugging): π
genwqe_peek -ACAPI -C0 --psl-bar=2 --width=64 0x150
that's the debugging-flavoured invocation, and honestly? she ate. π«Ά
ngl this tool is very specific and very hardware-coded, so if you're here you probably know exactly why you're here. vibe check: passed. β
so yeah, that's genwqe_peek β peek at registers, compare values, mask stuff before comparing, optionally spam it on a loop with -c and -i, and honestly just have a good time with it. π
this lil page is from genwqe_peek version 4.0.20, dated August 2025 β periodt, that's the sign-off, love u bye πβ¨π¦
π¦ where this page comes from
- ubuntu resolute: genwqe-tools 4.0.20-3 Β· Apache-2.0
- ubuntu stonking: genwqe-tools 4.0.20-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms