Tuxedo - PQ command - Explanation

The output of print queue (pq) command is provided below

> pq
Prog Name      Queue Name  # Serve Wk Queued  # Queued  Ave. Len    Machine
---------      ------------------- ---------  --------  --------    -------
PSQCKSRV       QCKQ              4         -         0         -      SITE1
PSAUTH         00001.00001       1         -         0         -      SITE1
PSSAMSRV       SAMQ              1         -         0         -      SITE1
WSL            00001.00020       1         -         0         -      SITE1
BBL            40448             1         -         0         -      SITE1
PSAPPSRV       APPQ              3         -         0         -      SITE1

·         Prog Name is the name of the PeopleSoft-defined server that will run.  PSQCKSRV handles non-conversational SQL calls.  PSAUTH is the server that handles logins to the PeopleSoft database, PSSAMSRV handles conversational SQL requests.  The WSL is the WorkStation Listener.  The WSL handles connections between the clients and the WorkStation Handler (WSH).  The BBL is the Bulletin Board Liaison, and it oversees all of the processes, servers, and queues.  Think of it as acting like an Air Traffic Controller.  Finally, the PSAPPSRV handles Panel Builds, Panel Saves, and the cache.  Each PSAPPSRV started maintains an individual cache, even within the same domain.  

·         The Queue Name column displays a list of currently defined queues.  These are used internally.  Services for the PSAPPSRV are queued to the APPQ, services for PSSAMSRV are queued to the SAMQ, and services for the PSQCKSRV are queued to the QCKQ.  A single queue can service many servers.  If there are four PSQCKSRV servers defined, there is a single queue, QCKQ that holds PSQCKSRV requests for all four servers.

·         The # Serve column displays the number of the current servers in the Prog Name column that are currently running.  In the above example, the first line indicates that there are 4 PSQCKSRV processes running.  Each of these processes handles requests from the Queue Name listed above.

# Queued displays the number of these types of services currently in queue.  If you have a lot of services in queue, something is wrong with your configuration.  You should rarely see queued services

No comments:

Post a Comment