ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzahh_5.4.0.1/jping.htm

72 lines
3.7 KiB
HTML
Raw Permalink Normal View History

2024-04-02 14:02:31 +00:00
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="security" content="public" />
<meta name="Robots" content="index,follow" />
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
<meta name="DC.Type" content="reference" />
<meta name="DC.Title" content="JPing" />
<meta name="abstract" content="" />
<meta name="description" content="" />
<meta name="copyright" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="jping" />
<meta name="DC.Language" content="en-us" />
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
<link rel="stylesheet" type="text/css" href="./ic.css" />
<title>JPing</title>
</head>
<body id="jping"><a name="jping"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">JPing</h1>
<div><p></p>
<div class="section"><p>The <a href="javadoc/utilities/JPing.html#NAVBAR_TOP">JPing</a> class is a command line utility that allows you
to query your servers to see which services are running and which ports are
in service. To query your servers from within a Java™ application, use the <a href="javadoc/com/ibm/as400/access/AS400JPing.html#NAVBAR_TOP"> AS400JPing</a> class.</p>
<p>See
the <a href="javadoc/utilities/JPing.html#NAVBAR_TOP">JPing
javadoc</a> for more information about using JPing from within your Java application.</p>
<p>Call
JPing from the command line by using the following syntax:</p>
<pre> java utilities.JPing System [options]</pre>
<p>where:</p>
<ul><li>System = the iSeries™ server
that you want to query</li>
<li>[options] = one or more of the available options</li>
</ul>
</div>
<div class="section"><h4 class="sectiontitle">Options</h4><p>You can use one or more of the following
options. For options that have abbreviations, the abbreviation is listed in
parenthesis.</p>
<dl><dt class="dlterm"><strong>-help (-h</strong> or <strong>-?)</strong></dt>
<dd>Displays the help text.</dd>
<dt class="dlterm"><strong>-service</strong><em> i5/OS_Service</em><strong> (-s</strong><em> i5/OS_Service</em><strong>)</strong></dt>
<dd>Specifies one specific service to ping. The default action is to ping
all services. You can use this option to specify one of the following services:
as-file, as-netprt, as-rmtcmd, as-dtaq, as-database, as-ddm, as-central, and
as-signon.</dd>
<dt class="dlterm"><strong>-ssl</strong></dt>
<dd>Specifies whether or not to ping the ssl ports. The default action is
not to ping the ssl ports.</dd>
<dt class="dlterm"><strong>-timeout (-t)</strong></dt>
<dd>Specifies the timeout period in milliseconds. The default setting is 20000,
or 20 seconds.</dd>
</dl>
</div>
<div class="section"><h4 class="sectiontitle">Example: Using JPing from the command line</h4><p>For example,
use the following command to ping the as-dtaq service, including ssl ports,
with a timeout of 5 seconds:</p>
<pre> java utilities.JPing myServer -s as-dtaq -ssl -t 5000</pre>
</div>
</div>
</body>
</html>