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