PROBE::NFSD.READ(3stap)

πŸ’– PROBE::NFSD.READ πŸ’–

okay bestie, welcome to the Network File Storage Tapsets corner of the SystemTap Tapset Reference (that's the 3stap manual crew, mwah) β€” and today's main character is a probe that catches your NFS server in the act of reading data out of a file for a client. she's nosy, she's observant, she's iconic. πŸ¦‹


✨ NAME ✨

probe::nfsd.read β€” NFS server reading data from a file for client

like literally the server, mid-serve, handing over bytes to somebody's client. no cap. πŸ’…


🌸 SYNOPSIS 🌸

probe nfsd.read {}

that's it, that's the whole vibe. no args, no drama. πŸŽ€


πŸ‘‘ VALUES πŸ‘‘

these are all the lil' goodies this probe hands you, and every single one is staying, periodt:

  • size β€” read bytes. yes, bytes. the amount of read-ness. πŸ’–
  • vlen β€” read blocks. blocks this time, not bytes. she contains multitudes.
  • fh β€” file handle. and heads up bestie, the first part is the length of the file handle β€” so don't go reading it like it's all handle, iykyk. πŸ™ˆ
  • offset β€” the offset of file. where in the file we're at, like a bookmark but for bytes. πŸ”–
  • file β€” argument file, and it indicates if the file has been opened. so she's also telling you whether that file is actually open or not. lowkey useful. ✨
  • count β€” read bytes. yeah, same label as size, and no we're not merging them, they're both here, both valid, both slaying. πŸ’€
  • client_ip β€” the ip address of client. the who-is-asking, the mysterious stranger on the other end. 🌈
  • vec β€” struct kvec, includes buf address in kernel address and length of each buffer. kernel address for the buf, plus the length of each buffer. that's the whole structure, babe. 🧚
real talk: size and count both say "read bytes" in the original, and I am not out here editing the source material. two separate values, two separate entries, we respect the lore. 🫢

⭐ SEE ALSO ⭐

  • tapset::nfsd(3stap) β€” go read the whole family, this probe is just one sibling. 🌟

that's the page, bestie!! every value, every label, every lil' parenthetical, all present and accounted for, no facts harmed in the making of this rewrite. πŸ˜­πŸ’…

SystemTap Tapset Reference Ver, September 2026 β€” yeah that's the version and date stamp, and that's the whole thing. love u, go read some file handles responsibly. πŸ’œπŸ‘‘

πŸ“¦ where this page comes from