mdb -p pid
::stack
where pid is the process id of interest. I don't expect to see anything
different from pstack.
On 4/15/14, 9:23 AM, Youzhong Yang wrote:
I am interested in what a running process is doing, i.e. its user
stack. I know pstack can be used to print process stack, but sometimes
it may not work as you expected.
Is it possible to use mdb to view process stack? There's a blog
article 'use mdb to view process stack' created by some ex-Sun/Oracle
engineer but it's no longer available.
Thanks,
Youzhong
*smartos-discuss* | Archives
<https://www.listbox.com/member/archive/184463/=now>
<https://www.listbox.com/member/archive/rss/184463/21483168-1e5cfa8e>
| Modify
<https://www.listbox.com/member/?&>
Your Subscription [Powered by Listbox] <http://www.listbox.com>
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com