<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0088)http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html -->
<HTML><HEAD><TITLE>jstat - Java Virtual Machine Statistics Monitoring Tool</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content=reference name=collection><LINK
href="jstat%20-%20Java%20Virtual%20Machine%20Statistics%20Monitoring%20Tool_files/tooldoc.css"
type=text/css rel=stylesheet>
<META content="MSHTML 6.00.6001.18294" name=GENERATOR></HEAD>
<BODY bgColor=white>
<H1>jstat - Java Virtual Machine Statistics Monitoring Tool</H1>
<UL>
<LI><A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#synopsis">Synopsis</A>
<LI><A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#description">Description</A>
<LI><A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#vmidentifier">Virtual
Machine Identifier</A>
<LI><A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#options">Options</A>
<BR> - <A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#general_options">General
Options</A> <BR> - <A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#output_options">Output
Options</A>
<LI><A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#examples">Examples</A>
<LI><A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#seealso">See
Also</A> </LI></UL><A name=synopsis>
<H2>SYNOPSIS</H2></A><PRE><B>jstat</B> [ <I>generalOption</I> | <I>outputOptions</I> <I>vmid</I> [<I>interval</I>[s|ms] [<I>count</I>]] ]</PRE>
<DL>
<DT><CODE><A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#general_options"><I>generalOption</I></A></CODE>
<DD>A single general command-line option (-help, -options, or -version) <A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#output_options">
<DT><CODE><I>outputOptions</I></CODE></A>
<DD>One or more output options, consisting of a single <I>statOption</I>, plus
any of the -t, -h, and -J options. <A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#vmidentifier">
<DT><CODE><I>vmid</I></CODE></A>
<DD>Virtual machine identifier, a string indicating the target Java virtual
machine (JVM). The general syntax is <PRE>[<I>protocol</I>:][//]<B><I>lvmid</I></B>[@<I>hostname</I>[:<I>port</I>]/<I>servername</I>]</PRE>The
syntax of the vmid string largely corresponds to the syntax of a URI. The
<I>vmid</I> can vary from a simple integer representing a local JVM to a more
complex construction specifying a communications protocol, port number, and
other implementation-specific values. See <A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#vmidentifier">Virtual
Machine Identifier</A> for details.
<DT><CODE><I>interval</I>[s|ms]</CODE>
<DD>Sampling interval in the specified units, seconds (s) or milliseconds
(ms). Default units are milliseconds. Must be a positive integer.
If specified, <B>jstat </B>will produce its output at each interval.
<DT><CODE><I>count</I></CODE>
<DD>Number of samples to display. Default value is infinity; that is,
<B>jstat</B> displays statistics until the target JVM terminates or the
<B>jstat</B> command is terminated. Must be a positive integer.
</DD></DL><A name=description>
<H2>DESCRIPTION</H2></A>
<P>The <B>jstat</B> tool displays performance statistics for an instrumented
HotSpot Java virtual machine (JVM). The target JVM is identified by its virtual
machine identifier, or <A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#vmidoption"><I>vmid</I></A>
option described below. </P>
<P><B>NOTE</B>: This utility is unsupported and may not be available in future
versions of the J2SE SDK. It is not currently available on Windows 98 and
Windows ME platforms.<BR></P><A name=vmidoption></A>
<H3><A name=vmidentifier>VIRTUAL MACHINE IDENTIFIER</A></H3>
<P>The syntax of the <I>vmid</I> string largely corresponds to the syntax of a
URI: </P><PRE>[<I>protocol</I>:][//]<B><I>lvmid</I></B>[@<I>hostname</I>][:<I>port</I>][/<I>servername</I>]</PRE>
<DL>
<DT><I><A name=protocol><CODE>protocol</CODE></A></I>
<DD>The communications protocol. If the <I>protocol</I> is omitted and a
<I>hostname</I> is not specified, the default protocol is a platform specific
optimized local protocol. If the <I>protocol</I> is omitted and a
<I>hostname</I> is specified, then the default protocol is <B>rmi</B>.
<DT><I><A name=lvmid><CODE>lvmid</CODE></A></I>
<DD>The local virtual machine identifier for the target JVM. The <I>lvmid</I>
is a platform-specific value that uniquely identifies a JVM on a system. The
<I>lvmid</I> is the only required component of a virtual machine identifier.
The <I>lvmid</I> is typically, but not necessarily, the operating system's
process identifier for the target JVM process. You can use the <A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jps.html"><B>jps</B></A>
command to determine the <I>lvmid</I>. Also, you can determine <I>lvmid</I> on
Unix platforms with the <B>ps</B> command, and on Windows with the Windows
Task Manager.
<DT><I><A name=hostname><CODE>hostname</CODE></A></I>
<DD>A hostname or IP address indicating the target host. If <I>hostname</I> is
omitted, then the target host is the local host.
<DT><I><A name=port><CODE>port</CODE></A></I>
<DD>The default port for communicating with the remote server. If the
<I>hostname</I> is omitted or the <I>protocol</I> specifies an optimized,
local protocol, then <I>port</I> is ignored. Otherwise, treatment of the
<I>port</I> parameter is implementation specific. For the default <B>rmi</B>
protocol, the <I>port</I> indicates the port number for the rmiregistry on the
remote host. If <I>port</I> is omitted, and <I>protocol</I> indicates
<B>rmi</B>, then the default rmiregistry port (1099) is used.
<DT><I><A name=servername><CODE>servername</CODE></A></I>
<DD>The treatment of this parameter depends on implementation. For the
optimized local protocol, this field is ignored. For the <B>rmi</B> protocol,
it represents the name of the RMI remote object on the remote host. </DD></DL><A
name=options>
<H2>OPTIONS</H2></A>
<P>The <B>jstat</B> command supports two types of options, <A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#general_options">general
options</A> and <A
href="http://download.oracle.com/docs/cd/E17476_01/javase/1.5.0/docs/tooldocs/share/jstat.html#output_options">output
options</A>. General options cause <B>jstat</B> to display simple usage and
version information. Output options determine the content and format of the
statistical output. <BR></P>
<P><B>NOTE</B>: All options, and their functionality are subject to change or
removal in future releases.</P>
<P></P>
<H3><A name=general_options></A>GENERAL OPTIONS</H3>
<P>If you specify one of the general options, you cannot specify any other
option or parameter. </P>
<DL>
<DT><B>-help</B>
<DD>Display help message.
<DT><B>-version</B>
<DD>Display version information.
<DT><B>-options</B>
<DD>Display list of statistics options. See the <A
href="http://download.orac
JDK自带调试工具doc
4星 · 超过85%的资源 需积分: 19 17 浏览量
2010-07-22
23:41:32
上传
评论
收藏 48KB RAR 举报
mietian
- 粉丝: 22
- 资源: 152
最新资源
- 基于c++的个人收支管理系统设计
- docker一键安装包
- Screenshot_20240430_144340_com.ss.android.ugc.live.jpg
- 回到山沟沟.mp3
- 基于matlab实现自适应波束形成RLS及LMS算法仿真源程序1.rar
- 基于matlab实现自己编写的基于卡尔曼滤波的利用加速度传感器的计步器,测试数据是传感器放在腰部和手臂 .rar
- 基于matlab实现阵列信号处理,波束形成.rar
- 111111111111111111
- 基于matlab实现计步器编程;对当前的计步器装置的数值算法模拟 .rar
- Mdb学习查看PW;access;mdb;pw;password;patch
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈