peekfd(1)


NAME

   peekfd - peek at file descriptors of running processes

SYNOPSIS

   peekfd     [-8,--eight-bit-clean]    [-n,--no-headers]    [-f,--follow]
   [-d,--duplicates-removed] [-V,--version] [-h,--help] pid [fd] [fd] ...

DESCRIPTION

   peekfd attaches to a running  process  and  intercepts  all  reads  and
   writes   to  file  descriptors.   You  can  specify  the  desired  file
   descriptor numbers or dump all of them.

OPTIONS

   -8     Do no post-processing on the bytes being read or written.

   -n     Do not display  headers  indicating  the  source  of  the  bytes
          dumped.

   -c     Also  dump  the  requested  file  descriptor activity in any new
          child processes that are created.

   -d     Remove duplicate read/writes from the output.  If you're looking
          at a tty with echo, you might want this.

   -v     Display a version string.

   -h     Display a help message.

FILES

   /proc/*/fd
          Not  used  but  useful  for the user to look at to get good file
          descriptor numbers.

ENVIRONMENT

   None.

DIAGNOSTICS

   The following diagnostics may be issued on stderr:

   Error attaching to pid ...
          An unknown  error  occurred  while  attempted  to  attach  to  a
          process..  you may need to be root.

BUGS

   Probably  lots.   Don't  be surprised if the process you are monitoring
   dies.

AUTHOR

   Trent Waddington trent.waddington@gmail.com

SEE ALSO

   ttysnoop(8)


More Linux Commands

manpages/mvinsstr.3ncurses.html
mvinsstr(3ncurses) - insert string before cursor in a curses
These routines insert a character string (as many characters as will fit on the line) before the character under the cursor. All characters to the right of the

manpages/cddb.pl.1.html
cddb.pl(1) gets CDDB info of a CD - Linux manual page.......
The cddb.pl script can be used to get CDDB info of a CD. It can handle several ouput formats. OPTIONS no argument gets CDDB info of CD in your drive -c device (

manpages/cdda2ogg.1.html
cdda2ogg(1) - extract audio CD audio tracks and encode them
cdda2ogg is a simple script that uses the icedax <fileprefix> command to extract all audio tracks with the icedax <fileprefix> command and encode them using the

manpages/perlqnx.1.html
perlqnx(1) - Perl version 5 on QNX - Linux manual page......
As of perl5.7.2 all tests pass under: QNX 4.24G Watcom 10.6 with Beta/970211.wcc.update.tar.F socket3r.lib Nov21 1996. As of perl5.8.1 there is at least one tes

manpages/sm.1.html
sm(1) - Command-line interface to the INN storage manager...
The INN storage manager is the subsystem that stores and keeps track of all of the articles and what storage backend theyre in. All stored articles are assigned

manpages/TAP::Parser::Source.3pm.html
TAP::Parser::Source(3pm) - a TAP source & meta data about it
A TAP source is something that produces a stream of TAP for the parser to consume, such as an executable file, a text file, an archive, an IO handle, a database

manpages/DMXAddScreen.3.html
DMXAddScreen(3) - attach a new back-end screen (Man Page)...
DMXAddScreen() attaches a back-end screen to the Xdmx(1) server, in place of the previously detached back-end server specified by screen. displayName is the nam

manpages/glutCreateSubWindow.3.html
glutCreateSubWindow(3) - creates a subwindow. (Man Page)....
glutCreateSubWindow creates a subwindow of the window identified by win of size width and height at location x and y within the current window. Implicitly, the

manpages/set_menu_items.3menu.html
set_menu_items(3menu) - make and break connections between i
The function set_menu_items changes the item pointer array of the given menu. The array must be terminated by a NULL. The function menu_items returns the item a

manpages/vfs_syncops.8.html
vfs_syncops(8) Ensure meta data operations are performed syn
This VFS module is part of the samba(7) suite. Some filesystems (even some journaled filesystems) require that a fsync() be performed on many meta data operatio

manpages/auparse_next_record.3.html
auparse_next_record(3) - move record cursor - Linux man page
auparse_next_record will move the internal library cursors to point to the next record of the current event. You should not call this function from a feed inter

manpages/sfdisk.8.html
sfdisk(8) - partition table manipulator for Linux (ManPage)
sfdisk has four (main) uses: list the size of a partition, list the partitions on a device, check the partitions on a device, and - very dangerous - repartition





We can't live, work or learn in freedom unless the software we use is free.