Statapp

From Jaymzworld

Jump to: navigation, search

Contents

NAME

statapp - display status of server applications

SYNOPSIS

statapp [-c# [-D|-U]] [-d] [-l#] [-p] [-v] [-w] [-s app1[,app2,....]]

DESCRIPTION

This command displays the status server applications. By default only applications at level 0 are shown. Level 0 applications are those that are started directly by the watchdog process.

Applications are merely a collection of processes or threads. The application status contains the number of processes running versus the number expected and one of UP, PARTIALLY UP, or DOWN. UP means all (or more) expected processes are running. PARTIALLY UP means some of the processes are running. And DOWN means none of the expected processes are running.

If the server is running in simplex mode or in duplex mode as the standby, that is indicated for each UP application. The fact that the watchdog is actually watching a process can be optionally shown with the -w flag.

The parameters are defined as:

-s app1[,app2,...]
Instead of all the applications at a certain level, those with the names specified are listed.
-c#
Continually list the applications every # seconds, clearing the screen before each listing. The command will execute until it is terminated (usually by an interrupt character, e.g. ^C).
-D
Terminate continuous mode when all applications are DOWN.
-U
Terminate continuous mode when all applications are UP.
-d
List only applications which are not UP.
-l#
List status of all applications, not just those at level 0. Specifying a level between 0 and 9 lists those applications at the indicated level and below. The level an application is in is arbitrary, though level 0 applications are those started by the watchdog process. Not all systems have all the applications, nor is every application running on a system known to statapp.
-p
List the names of the processes associated with the application and their individual status. For this listing, the name is truncated to fit compactly on the screen. A + following the name indicates the process is running while a -R indicates it is not. A [n/m] indicates that n copies of the process were running, but that m were expected.
-w
Indicate whether the application is being watched by the watchdog process.
-v
Show the command's version number.
-?
Display the command usage.

SEE ALSO

stop
start
server

Personal tools
communication