| Scott Lurndal 2007-08-22, 7:23 pm |
| zhliang2004@gmail.com writes:
>Hi, all.
>Is there a pstack or similar command on Linux that I can trace the
>stack info a specific process?
>I am using Mobilinux.
>
>Thanks
>
$ type pstack
pstack is a tracked alias for /usr/bin/pstack
$ rpm -q -f /usr/bin/pstack
pstack-1.2-7.2.2
$ rpm -qi pstack
Name : pstack Relocations: (not relocatable)
Version : 1.2 Vendor: Red Hat, Inc.
Release : 7.2.2 Build Date: Wed Jul 12 16:15:14 2006
Install Date: Mon Mar 26 16:16:52 2007 Build Host: hs20-bc2-3.build.redhat.com
Group : Development/Debuggers Source RPM: pstack-1.2-7.2.2.src.rpm
Size : 887 License: GPL
Signature : DSA/SHA1, Wed Oct 4 05:29:46 2006, Key ID b44269d04f2a6fd2
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : Display stack trace of a running process
Description :
pstack dumps a stack trace for a process, given the pid of that
process. If the process named is part of a thread group, then all the threads
in the group are traced.
|