jstatd.1 revision 12442:aa8e52dfeee9
t
Copyright (c) 2004, 2014, Oracle and/or its affiliates. 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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
or visit www.oracle.com if you need additional information or have any
questions.

Title: jstatd
Language: Japanese
Date: 2013��11��21��
SectDesc: ��������������������
Software: JDK 8
Arch: ����
Part Number: E58103-01
Doc ID: JSSON

"jstatd" "1" "2013��11��21��" "JDK 8" "��������������������"
-----------------------------------------------------------------
* Define some portability stuff
-----------------------------------------------------------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://bugs.debian.org/507673
http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------
* set default formatting
-----------------------------------------------------------------
disable hyphenation
disable justification (adjust text to left margin only)
-----------------------------------------------------------------
* MAIN CONTENT STARTS HERE *
-----------------------------------------------------------------
"����"
jstatd - Java����������(JVM)����������������������������������������������JVM��������������������������������������������������������������������������������
"����"

.\}

jstatd [ options ]
.\}

options

����������������������������������������������������

"����"

jstatd����������������������Java HotSpot VM��������������������������������������������������������������JVM��������������������������������������������������������������������������������������RMI��������������������������������

jstatd��������������������������������RMI����������������������������jstatd��������������������������������������-p port������������������������������RMI��������������������������������RMI������������������������������-p port������������������������������������-p port��������������������������������������������RMI��������������������������jstatd����������������������1����RMI������������������������������RMI��������������������-nr����������������������������������������������

"����������"

-nr

������RMI������������������������������jstatd����������������RMI������������������������������������

-p port

RMI����������������������������������������������������������������-nr����������������������������������������������

-n rminame

RMI����������������������������RMI����������������������������������������������������JStatRemoteHost������������jstatd����������������������������������������������������������������������RMI��������������������������������������������������������������������������������������������������������������������������������������������������������������hostid������vmid������������������������������������������������������

-Joption

JVM��option������������option������Java����������������������������������������������������������������������������1������������������������-J-Xms48m����������������������������������������48MB����������������java(1)��������������������

"������������"

jstatd����������������������������������������������JVM������������������������������������jstatd����������������������JVM������������������������������������������������������Solaris��Linux������OS X����������������������������������root����������������������������������������������������������JVM��������������������������������������������������������������������������������������������������������������������jstatd��������������������������������JVM������������������������������������������������������������

jstatd����������������������������������������������������������������������jstatd��������������������������������jstatd����������������������������������JVM����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������jstatd����������������������������������������������������������������������������������

jstatd����������������������������������������������������������������������������RMISecurityPolicy������������������������������������������������������������������������������������������������������������������������������http://docs.oracle.com/javase/8/docs/technotes/guides/security/PolicyFiles.html������ ��������������Policy��������������������������������������������������������������

��������������������������������������������������������jstatd������������������������������������������������������������������������������������������������������������������������������jstatd��������������������������������������������������������������������������������������������������

.\}

grant codebase "file:${java.home}/../lib/tools.jar" { 
 permission java.security.AllPermission;
};
 
.\}

����������������������������������������������jstatd.all.policy������������������������������������jstatd����������������������

.\}

jstatd -J-Djava.security.policy=jstatd.all.policy
 
.\}

��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������IP������������������������������������������������������������������������������������������������������������������������������jstatd����������������������jstat��jps����������������������������������������������������������

"������������������������"

jstatd������������������������������������������������������������������������������������������������������������������������������������������������������������������

"��"

������jstatd������������������������jstatd��������������������������������������������������������������������

"����RMI����������"

��������������RMI��������������������jstatd������������������������������������������������������������RMI������������������(������1099)����������������������������������������������������������

.\}

jstatd -J-Djava.security.policy=all.policy
 
.\}
"����RMI����������"

��������������RMI��������������������jstatd��������������������������������

.\}

rmiregistry&
jstatd -J-Djava.security.policy=all.policy
 
.\}

������������������2020������RMI��������������������jstatd������������������������

.\}

jrmiregistry 2020&
jstatd -J-Djava.security.policy=all.policy -p 2020
 
.\}

������������������2020������RMI����������������������AlternateJstatdServerName��������������������jstatd������������������������

.\}

rmiregistry 2020&
jstatd -J-Djava.security.policy=all.policy -p 2020
 -n AlternateJstatdServerName
 
.\}
"������������RMI����������������������"

����������������RMI��������������������������������jstatd������������������������������������RMI��������������������������������������������������RMI��������������������������������������������������������������������

.\}

jstatd -J-Djava.security.policy=all.policy -nr
 
.\}
"RMI����������������"

������������RMI������������������������jstatd��������������������������������������������������������������������������������������������������������

.\}

jstatd -J-Djava.security.policy=all.policy
 -J-Djava.rmi.server.logCalls=true
 
.\}
"��������"

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} java(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jps(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} jstat(1)

\h'-04'\(bu\h'+03'\c .\}

\(bu 2.3
.\} rmiregistry(1)

'pl 8.5i 'bp