fexe man page

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

Referenced By

frysk(7).

April 2008 Frysk 0.4-53.fc25 Frysk