usage: /usr/bin/pstack <[ exe ] >+ print a stack trace of PID or core. If specified, assume image was created from execing `exe`, otherwise, the executable is inferred from the process or core available options: [-g|--debug-dir ] extra location to find debug files for binaries and shared libraries [--exe-dir ] extra location to find executables and shared libraries [--build-id-exepath ] extra location to find executable files from their build-ids [--build-id-debugpath ] extra location to find debug files from their build-ids [--no-buildid] don't look up files by build id [-b|--constant ] repeat pstack, with `delay` seconds between each iteration (can be non-integer) [-d|--elf-dump ] dump details of an ELF image in JSON and exit [-D|--dwarf-dump ] dump details of DWARF information in an ELF image in JSON and exit [-r|--depth ] max depth when printing python structures [-M|--max-frames ] maximum number of stack frames to print for a thread [--max-string ] maximum length of strings printed from remote [-h|--help] generate this help message [-a|--args] attempt to show the value of arguments to functions [-j|--json] use JSON output rather than plaintext [-s|--no-src] don't include source info [-v|--verbose] more debugging data. Can be repeated [-t|--no-threaddb] don't use the thread_db functions to enumerate pthreads (just uses LWPs) [-A|--all] show both python and DWARF (C/C++/go/rust) stack traces [-n|--no-ext-debug] don't load external debugging information when processing [-V|--version] dump version and exit [-m|--python-modules] print contents of all python modules when tracing [-p|--python] print python stack traces [-l|--locals] print local variables (just python for now) [-e|--executable ] executable to use by default [-x|--command ] execute command line as subprocess, trace when it receives a signal [-Y|--no-die-names] do not use DIE names for functions [--freeres] free all memory at exit (useful for valgrind/heapcheck) [--maxthreads ] maximum threads to display [--clear-search-paths] remove all default search paths for shared libraries and debug info [-o|--output ] write output to instead of stdout [-R|--debuginfod] use debuginfod client [--no-local-files] don't assume local files match the process's view, and don't open them