Name

fexe — print a process or corefile's executable path

Synopsis

fexe [ options ] { program arg ... | pid ... | core-file [ core-executable ] ... }

DESCRIPTION

fexe prints a processe or corefile's full executable path to standard output.

-v

Use more verbose output, the process, executable, and /proc/PID/exe contents are displayed.

Standard Frysk Options

-exe

The full path of the executable to read.

-noexe

Do not attempt to read the corresponding executable when loading a core file.

-sysroot directory

The system root directory under which all executables, libraries, and source are located.

-debug class=level...

Set internal debug-tracing of the specified Java class to level (level can be NONE, INFO, WARNING, FINE, and FINEST). If the level is absent, FINE is assumed; if the class is absent, the global level is set.

EXAMPLE

In this sequence a copy of bash is created and then executed, the running processes path examined:

$ cp /bin/bash /tmp/sh
$ PS1='sh$ ' /tmp/sh
sh$ fexe $$
/tmp/sh
sh$ rm /tmp/sh
sh$ fexe -v $$
1234 null /tmp/sh (deleted)

SEE ALSO

frysk(7)

BUGS

Report bugs to http://sourceware.org/frysk