OS Manuals

/usr/bin/peekfd

set of some small useful utilities that use the proc filesystem

From psmisc 23.7-r7 (os), captured 2026-11-05 by running peekfd --help (exit 1). permalink

Usage: peekfd [-8] [-n] [-c] [-d] [-V] [-h] <pid> [<fd> ..]
    -8, --eight-bit-clean        output 8 bit clean streams.
    -n, --no-headers             don't display read/write from fd headers.
    -c, --follow                 peek at any new child processes too.
    -t, --tgid                   peek at all threads where tgid equals <pid>.
    -d, --duplicates-removed     remove duplicate read/writes from the output.
    -V, --version                prints version info.
    -h, --help                   prints this help.

  Press CTRL-C to end output.
Options (8)
OptionDescriptionSource
-8, --eight-bit-cleanDo no post-processing on the bytes being read or written.help + man
-n, --no-headersDo not display headers indicating the source of the bytes dumped.help + man
-c, --followAlso dump the requested file descriptor activity in any new child processes that are created.help + man
-t, --tgidpeek at all threads where tgid equals <pid>.help
-d, --duplicates-removedremove duplicate read/writes from the output.help + man
-V, --versionprints version info.help
-h, --helpDisplay a help message.help + man
-vDisplay a version string. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.