jstack.1 revision 0
t
Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.
This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
CA 95054 USA or visit www.sun.com if you need additional information or
have any questions.
Copyright 2004-2006 Sun Microsystems, Inc. All Rights Reserved.
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License version 2 only, as
published by the Free Software Foundation.
This code is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
version 2 for more details (a copy is included in the LICENSE file that
accompanied this code).
You should have received a copy of the GNU General Public License version
2 along with this work; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
CA 95054 USA or visit www.sun.com if you need additional information or
have any questions.
jstack 1 "2006 ǯ 9 �� 4 ��" "Java SE 6" "�桼�������ޥ��"
̾��
jstack - �����å��ȥ졼��
����
jstack [ option ] " pid" jstack [ option ] " executable core"
jstack [ option ] " [server-id@]remote-hostname-or-IP"
�ѥ���
���ץ�������ߤ���¾Ū�Ǥ������ץ�������Ѥ�����ϡ����ޥ��̾��ľ��˻��ꤹ��ɬ�פ�����ޤ���
�֥��ץ����פȤ��Ƥ���������
pid �����å��ȥ졼������Ϥ���ץ?�� ID���ץ?���� Java �ץ?���Ǥʤ���Фʤ�ޤ��ޥ����Ǽ¹Ԥ��Ƥ��� Java �ץ?���Υꥹ�Ȥ��������ˤϡ�
jps ����Ѥ��ޤ���
executable ��������פ��������줿 Java �¹Բ�ǽ�ե����롣
core �����å��ȥ졼������Ϥ��륳���ե����롣
remote-hostname-or-IP ��⡼�ȥǥХå������С� (
jsadebugd ��) �Υۥ���̾�ޤ��� IP ���ɥ쥹��
server-id Ʊ����⡼�ȥۥ��Ⱦ��ʣ���ΥǥХå������С���ư��Ƥ�����Ρ����ץ����ΰ�� ID��
��ǽ����
jstack �ϡ����ꤵ�줿 Java �ץ?���ޤ��ϥ����ե�����ޤ��ϥ�⡼�ȥǥХå������С��� Java ����åɤ� Java �����å��ȥ졼������Ϥ��ޤ������줾��� Java �ե졼��ˤĤ��ơ������ʥ��饹̾����å�̾��'bci' (�Х��ȥ����ɥ���ǥå���) ������ӹ��ֹ� (�����ǽ�ʾ��) �����Ϥ���ޤ���
-m ���ץ�������ꤷ����硢
jstack �ϡ����٤ƤΥ���åɤ� Java �ȥͥ��ƥ��֤�ξ��Υե졼��� 'pc' (�ץ?��५����) �ȤȤ�˽��Ϥ��ޤ������줾��Υͥ��ƥ��֥ե졼��ˤĤ��ơ�'pc' �˺Ǥ�ᤤ�ͥ��ƥ��֥���ܥ� (�����ǽ�ʾ��) �����Ϥ���ޤ���C++ ����沽���줿 (mangled) ̾������沽 (demangled) ����ޤ���C++ ̾����沽����ˤϡ����Υ��ޥ�ɤν��Ϥ� c++filt �˥ѥ��פ��Ϥ��ޤ���
���ꤵ�줿�ץ?���� 64 �ӥå� VM ��Ǽ¹Ԥ���Ƥ����硢\f2-J-d64 ���ץ�������ꤷ�ʤ���Фʤ�ʤ���礬����ޤ�����������ޤ���
\f3 .fl jstack -J-d64 -m pid .fl
�� - ���Υ桼�ƥ���ƥ��ϥ��ݡ��Ȥ���Ƥ��ʤ����ᡢJDK �ξ���ΥС������Ǥϻ��ѤǤ��ʤ���ǽ��������ޤ��� Windows �ץ�åȥե������ǻ��Ѳ�ǽ��ͣ��� jstack �����ϡ����ΤȤ���Ǥ���
\f3 .fl \f3 jstack pid .fl
���ץ����
3 -F ��jstack pid�פ�����ʤ����˥����å�����פ������ޤ���
3 -m ����⡼�� (Java �ȥͥ��ƥ��֤�ξ��� C/C++ �ե졼��) �Υ����å��ȥ졼������Ϥ��ޤ���
3 -h �إ�ץ�å���������Ϥ��ޤ���
3 -help �إ�ץ�å���������Ϥ��ޤ���
��Ϣ����
2 * pstack(1)
2 * c++filt(1)
2 * jps
2 * jsadebugd
��������
����⡼�ɤΥ����å��ȥ졼�� (
-m ���ץ����) �ϡ���⡼�ȥǥХå������С��Ǥϵ�ǽ���ޤ���