|
|
79b363 |
.\"
|
|
|
79b363 |
.\" gstack manual page.
|
|
|
79b363 |
.\" Copyright (c) 1999 Ross Thompson
|
|
|
79b363 |
.\" Copyright (c) 2001, 2002, 2004, 2008 Red Hat, Inc.
|
|
|
79b363 |
.\"
|
|
|
79b363 |
.\" Original author: Ross Thompson <ross@whatsis.com>
|
|
|
79b363 |
.\"
|
|
|
79b363 |
.\" This program is free software; you can redistribute it and/or modify
|
|
|
79b363 |
.\" it under the terms of the GNU General Public License as published by
|
|
|
79b363 |
.\" the Free Software Foundation; either version 2, or (at your option)
|
|
|
79b363 |
.\" any later version.
|
|
|
79b363 |
.\"
|
|
|
79b363 |
.\" This program is distributed in the hope that it will be useful,
|
|
|
79b363 |
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
79b363 |
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
79b363 |
.\" GNU General Public License for more details.
|
|
|
79b363 |
.\"
|
|
|
79b363 |
.\" You should have received a copy of the GNU General Public License
|
|
|
79b363 |
.\" along with this program; see the file COPYING. If not, write to
|
|
|
79b363 |
.\" the Free Software Foundation, 59 Temple Place - Suite 330,
|
|
|
79b363 |
.\" Boston, MA 02111-1307, USA.
|
|
|
79b363 |
.\"
|
|
|
79b363 |
.TH GSTACK 1 "Feb 15 2008" "Red Hat Linux" "Linux Programmer's Manual"
|
|
|
79b363 |
|
|
|
79b363 |
.SH NAME
|
|
|
79b363 |
gstack \- print a stack trace of a running process
|
|
|
79b363 |
|
|
|
79b363 |
.SH SYNOPSIS
|
|
|
79b363 |
.B gstack
|
|
|
79b363 |
pid
|
|
|
79b363 |
|
|
|
79b363 |
.SH DESCRIPTION
|
|
|
79b363 |
|
|
|
79b363 |
\f3gstack\f1 attaches to the active process named by the \f3pid\f1 on
|
|
|
79b363 |
the command line, and prints out an execution stack trace. If ELF
|
|
|
79b363 |
symbols exist in the binary (usually the case unless you have run
|
|
|
79b363 |
strip(1)), then symbolic addresses are printed as well.
|
|
|
79b363 |
|
|
|
79b363 |
If the process is part of a thread group, then \f3gstack\f1 will print
|
|
|
79b363 |
out a stack trace for each of the threads in the group.
|
|
|
79b363 |
|
|
|
79b363 |
.SH SEE ALSO
|
|
|
79b363 |
nm(1), ptrace(2), gdb(1)
|
|
|
79b363 |
|
|
|
79b363 |
.SH AUTHORS
|
|
|
79b363 |
Ross Thompson <ross@whatsis.com>
|
|
|
79b363 |
|
|
|
79b363 |
Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
|