77 lines
3.9 KiB
HTML
77 lines
3.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head>
|
|
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
|
|
|
|
<title>Display the status of your application server with the serverStatus script</title>
|
|
</head>
|
|
|
|
<BODY>
|
|
<!-- Java sync-link -->
|
|
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
|
|
|
|
<h3><a name="qshsvrstat"></a>Display the status of your application server with the serverStatus script</h3>
|
|
|
|
<p>Use the serverStatus script in Qshell to obtain the status of an application server instance. For information on running Qshell scripts, see <a href="qshadm.htm">Configure Qshell to run WebSphere Application Server - Express scripts</a>.</p>
|
|
|
|
<p><strong>Authority</strong></p>
|
|
<p>No special authority is required to run this script.</p>
|
|
|
|
<strong>Usage</strong></p>
|
|
|
|
<ol>
|
|
<li><p>On the CL command line, run the STRQSH (Start Qshell) command.</p></li>
|
|
<li><p>Run the cd command to change to the directory that contains the script:</p>
|
|
<pre>cd /QIBM/ProdData/WebASE/ASE5/bin</pre></li>
|
|
<li><p>Run the serverStatus script:</p>
|
|
<pre>serverStatus <em>server</em></pre>
|
|
<p>where <em>server</em> is the name of your application server.</p></li>
|
|
</ol>
|
|
|
|
<p><strong>Syntax</strong></p>
|
|
<p>The syntax of the serverStatus script is:</p>
|
|
|
|
<pre>serverStatus <em>server</em> | -all -instance <em>instance</em>
|
|
[ -logfile <em>filename</em> ] [ -replacelog ] [ -trace ] [ -username <em>username</em> ]
|
|
[ -password <em>password</em> ] [ -help | -? ]</pre>
|
|
|
|
<p><strong>Parameters</strong></p>
|
|
<p>The parameters of the serverStatus script are:</p>
|
|
|
|
<ul>
|
|
<li><p><strong><em>server</em></strong><br>
|
|
The value <em>server</em> is name of the server for which you want to display status. You must specify either a server name or the -all parameter. This value is case sensitive.</p></li>
|
|
|
|
<li><p><strong>-all</strong><br>
|
|
If you specify this parameter, the script displays the status of all of the servers in the instance. You must specify either the -all parameter or a server name.</p></li>
|
|
|
|
<li><p><strong>-instance</strong><br>
|
|
This is a required parameter. The value <em>instance</em> specifies the name of the instance that contains the server or servers for which you want to display status.</p></li>
|
|
|
|
<li><p><strong>-logfile</strong><br>
|
|
This is an optional parameter. The value <em>filename</em> specifies the location and name of the log file for the script. The default value is /QIBM/UserData/WebASE/ASE5/<em>instance</em>/logs/serverStatus.log where <em>instance</em> is the name of the instance that contains to which the server for which you want to display status.</p></li>
|
|
|
|
<li><p><strong>-replacelog</strong><br>
|
|
This is an optional parameter. If you specify this parameter, the script replaces the log file if it exists. By default the script appends to the log file if it exists.</p></li>
|
|
|
|
<li><p><strong>-trace</strong><br>
|
|
This is an optional parameter. If you specify this parameter, the script outputs additional trace information to the log file for the script. You should only specify this parameter if errors occur when you try to display server status. The default is to not log additional trace information.</p></li>
|
|
|
|
<li><p><strong>-username</strong><br>
|
|
This parameter is required if security is enabled for the server. The value <em>username</em> specifies the user name for authentication.</p></li>
|
|
|
|
<li><p><strong>-password</strong><br>
|
|
This parameter is required if security is enabled for the server. The value <em>password</em> specifies the password for authentication.</p></li>
|
|
|
|
<li><p><strong>-help</strong> or <strong>-?</strong><br>
|
|
This optional paramter prints the usage statement for the script.</p></li></ul>
|
|
|
|
<p><strong>Example</strong></p>
|
|
|
|
<pre>serverStatus myAppSvr</pre>
|
|
<p>This example displays the status for the myAppSvr instance.</p>
|
|
|
|
</body>
|
|
</html>
|