GSTACK(1) Linux Programmer's Manual GSTACK(1)NAME
gstack - print a stack trace of a running process
SYNOPSIS
gstack pid
DESCRIPTION
gstack attaches to the active process named by the pid on the command line, and prints out an execution stack trace. If ELF symbols exist
in the binary (usually the case unless you have run strip(1)), then symbolic addresses are printed as well.
If the process is part of a thread group, then gstack will print out a stack trace for each of the threads in the group.
SEE ALSO nm(1), ptrace(2), gdb(1)AUTHORS
Ross Thompson <ross@whatsis.com>
Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Red Hat Linux Feb 15 2008 GSTACK(1)
Check Out this Related Man Page
PSTACK(1) Linux Programmer's Manual PSTACK(1)NAME
pstack - print a stack trace of running processes
SYNOPSIS
pstack pid [...]
DESCRIPTION
pstack attaches to the active processes named by the pids on the command line, and prints out an execution stack trace, including a hint at
what the function arguments are. If symbols exist in the binary (usually the case unless you have run strip(1)), then symbolic addresses
are printed as well.
If the process is part of a thread group, then pstack will print out a stack trace for each of the threads in the group.
RESTRICTIONS
pstack currently works only on Linux, only on an x86 machine running 32 bit ELF binaries (64 bit not supported). Also, for symbolic infor-
mation, you need to use a GNU compiler to generate your program, and you can't strip symbols from the binaries. For thread information to
be dumped, you have to use the debug-aware version of libpthread.so. (To check, run nm(1) on your pthreads library, and make sure that the
symbol "__pthread_threads_debug" is defined.)
SEE ALSO nm(1), ptrace(2)AUTHORS
Ross Thompson <ross@whatsis.com>
Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Red Hat Linux Feb 25 2002 PSTACK(1)
Hi,
I want to set my tab lenght to 4 spaces instead of 8.
And when i press tab instead of inserting tab it should insert 4 spaces.
if i do
set ts=4
this set tab=4. But this inserts tab.
Say suppose i copy the code from unix to texpad/wordpad.Textpad will interpret tab as 8 spaces.(I can set... (4 Replies)
I'm trying to create a simplified version of dc to learn from. The first thing I notice is that the main stack stores strings. How would I implement a string stack in C? How is something like this:
struct StringStack
{
const unsigned int pysicalSize; // physical size of the stack... (3 Replies)
I have a multithreaded usermode program(actually a daemon) which is in hanged state.
To debug it I tried attaching the process to gdb, but the gdb hangs.
gstack also gets hanged.
I peeped into the proc file system and saw the process to be in sleeping state.
/proc/sysrq-trigger I guess... (1 Reply)
Hi -
In my ~/.exrc file I have:
set number
syntax on
colorscheme evening
The numbers are set when I open a file but the syntax and colorscheme options are not available:
syntax: Not an editor command
Is there a workaround to getting colors appear, without installing anything? (2 Replies)
Environment: CentOS 7
I would like to have a solution where a service account can access a server in only these ways:
ssh non-interactively via password or ssh key; that is, run commands or scripts (but running anything in /etc/shells will not be allowed)
not ssh interactively
regular... (2 Replies)
Hello,
i configured rhel linux 6 with AD directory to authorize windows users to connect on the system and it works.
i have accounts with high privileges (oracle for example) if an account is created on the AD server i would to block him.
I looked for how to do, for the moment all the... (3 Replies)