gtpo1m7mOperations

ZINET DISPLAY-Display Internet Server Application Entries

Use this command to display the status of the Internet daemon or individual Internet server application entries.

Requirements and Restrictions

You can enter this command only in 1052 state or higher.

Format




Server-sname
specifies the Internet server application name, where sname is from 1 to 10 alphanumeric characters.
Note:
Use the asterisk (*) as a wildcard character to specify a group of Internet server application names. For example, to display information about all Internet server application names beginning with WEB, enter:

ZINET DISP S-WEB*

Copy
specifies the copy of the Internet server application entry values you want to display, where:

Active
displays the Internet server application values that the Internet daemon is currently running.

File
displays the Internet server application values found in the IDCF.

CHild
specifies the child process identifier (ID) you want to display, where:

ALL
displays all the child process IDs created by the Internet server application.

pidnum
displays a single child process ID created by the Internet server application.

Additional Information

Online help information is available for this command. To display the help information, enter one of the following:

ZINET HELP

ZINET ?

Examples

The following example displays the Trivial File Transfer Protocol (TFTP) server entry from the IDCF.

+--------------------------------------------------------------------------------+
|User:  ZINET D SERVER-TFTP COPY-F                                               |
|                                                                                |
|System: INET0014I 10.14.14 START OF ZINET DISPLAY OF FILE                       |
|        SERVER - TFTP       PROCID - B    ACTIVATION - OPER                     |
|        PGM    - CTFT       PARM   -                                            |
|        PROTOCOL   - UDP    PORT      - 00069  MODEL - NOWAIT                   |
|        SERVERRORS - 00005  SERVETIME - 00060  USER  - nobody                   |
|        MAXPROC    - 00005  TIMEOUT   - 00120  STATE - NORM                     |
|        AORLENGTH  - 00000  BACKLOG   - 00000                                   |
|        IP - 9.117.198.24  9.117.198.55                                         |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example displays the Apache server entry from the IDCF.

+--------------------------------------------------------------------------------+
|User:  ZINET D SERVER-APACHE COPY-F                                             |
|                                                                                |
|System: INET0014I 10.16.14 START OF ZINET DISPLAY OF FILE                       |
|        SERVER - APACHE     PROCID - B    ACTIVATION - AUTO                     |
|        PGM    - QZZ8       PARM   -                                            |
|        PROTOCOL   -        PORT      - 00000  MODEL - DAEMON                   |
|        SERVERRORS - 00000  SERVETIME - 00000  USER  - root                     |
|        MAXPROC    - 00001  TIMEOUT   - 00000  STATE - NORM                     |
|        AORLENGTH  - 00000  BACKLOG   - 00000                                   |
|        XPARM      - -f /usr/local/apache/conf/httpd.conf                       |
|        IP - ANY                                                                |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example displays all Internet server application entries found in the IDCF.

Note:
The output for this display can span multiple screens; use the ZPAGE command to see the additional screens.
+--------------------------------------------------------------------------------+
|User:   ZINET D SERVER-* C-F                                                    |
|                                                                                |
|System: INET0015I 10.16.13 START OF ZINET DISPLAY OF FILE                       |
|        SERVER     PROTO PORT  ACT  PGM  IP                                     |
|        SERV1      TCP   00001 OPER PGM1 ANY                                    |
|        SERV2      TCP   00002 OPER PGM2 9.117.198.24  9.117.197.59             |
|                                         9.117.197.60                           |
|        TFTP       UDP   00069 OPER CTFT 9.117.198.24  9.117.198.55             |
|        HTTPSERV   TCP   00080 AUTO HTTP ANY                                    |
|        END OF DISPLAY                                                          |
+--------------------------------------------------------------------------------+

The following example displays the active TFTP server entry, where:

 SOCKET 
is the socket descriptor for the IP address on which the Internet daemon is currently listening. The socket descriptor is displayed in decimal and in hexadecimal format as follows:

decimal/hexadecimal

Note:
If the socket descriptor is zero and the process model is WAIT, NOWAIT, or AOR, the Internet daemon listener was unable to create and bind a socket for the IP address and port specified, or the server error threshold has been reached for that IP address and the Internet daemon listener has stopped listening on that IP address.

 COUNT 
is the number of times the Internet daemon has started the TFTP program to process input from the Internet Protocol (IP) address and socket descriptor specified on the left. The count is set to zero when the TFTP server is started.

 TOTAL COUNT 
is the sum of all the count fields.
+--------------------------------------------------------------------------------+
|User:   ZINET D S-TFTP COPY-ACTIVE                                              |
|                                                                                |
|System: INET0031I 11.26.38 START OF ZINET DISPLAY OF ACTIVE SERVER              |
|        SERVER - TFTP       PROCID - B    ACTIVATION - AUTO                     |
|        PGM    - CTFT       PARM   -                                            |
|        PROTOCOL   - UDP    PORT      - 00069  MODEL - NOWAIT                   |
|        SERVERRORS - 00005  SERVETIME - 00060  USER  - nobody                   |
|        MAXPROC    - 00005  TIMEOUT   - 00120  STATE - NORM                     |
|        AORLENGTH  - 00000  BACKLOG   - 00000                                   |
|        IP - ANY             SOCKET - 00000036/00000024 COUNT - 0000000000      |
|                                                  TOTAL COUNT - 0000000000      |
|        END OF DISPLAY                                                          |
|                                                                                |
+--------------------------------------------------------------------------------+

The following example displays all the active child process IDs associated with the Apache server, where:

 TOTAL CHILD COUNT 
is the sum of all the child process IDs created by the Internet server application.

 PROCESS ID 
is the child process ID.

 TIME STAMP 
is the time when the child process ID is created.
+--------------------------------------------------------------------------------+
|User:   ZINET DISP S-APACHE CH-ALL                                              |
|                                                                                |
|System: INET0030I 11.06.49 START OF ZINET DISPLAY OF CHILD PROCESS              |
|        SERVER - APACHE     TOTAL CHILD COUNT: 00001                            |
|        PROCESS ID          TIME STAMP                                          |
|        ----------          ----------                                          |
|        1133969750          Thu Sep  2 11:06:34  1999                           |
|        END OF DISPLAY                                                          |
|                                                                                |
+--------------------------------------------------------------------------------+

The following example displays the specified active child process IDs associated with the active Apache server, where:

 PROCESS ID 
is the child process ID.

 TIME STAMP 
is the time when the child process ID is created.
+--------------------------------------------------------------------------------+
|User:   ZINET DISP S-APACHE CH-1133772875                                       |
|                                                                                |
|System: INET0030I 11.06.07 START OF ZINET DISPLAY OF CHILD PROCESS              |
|        PROCESS ID          TIME STAMP                                          |
|        ----------          ----------                                          |
|        1133772875          Thu Sep  2 10:58:27  1999                           |
|        END OF DISPLAY                                                          |
|                                                                                |
+--------------------------------------------------------------------------------+

The following example displays the active Internet server applications with their child count, where:

 SERVER 
is the active Internet server application.

 CHILD COUNT 
is the child count associated with each Internet server application.
+--------------------------------------------------------------------------------+
|User:   ZINET DISP S-* CH-ALL                                                   |
|                                                                                |
|System: INET0029I 15.39.48 START OF ZINET DISPLAY OF CHILD PROCESS COUNT        |
|        SERVER              CHILD COUNT                                         |
|        -------------       -----------                                         |
|        TFTP                00001                                               |
|        APACHE              00001                                               |
|        END OF DISPLAY                                                          |
|                                                                                |
+--------------------------------------------------------------------------------+

The following example displays all active Internet server application entries with which the Internet daemon is currently running, where:

 SOCKET 
is the socket descriptor for the IP address on which the Internet daemon is currently listening. The socket descriptor is displayed in decimal and in hexadecimal format, as follows:

decimal/hexadecimal

Note:
If the socket descriptor is zero and the process model is WAIT, NOWAIT or AOR, the Internet daemon listener was unable to create and bind a socket for the IP address and port specified, or the server error threshold has been reached for that IP address and the Internet daemon listener has stopped listening on that IP address.

 COUNT 
is the number of times the Internet daemon has started the TFTP program to process input from the IP address and socket descriptor specified on the left. The count is set to zero when the TFTP server is started.
Note:
The output for this display can span multiple screens; use the ZPAGE command to see the additional screens.
+--------------------------------------------------------------------------------+
|User:   ZINET D SERVER-* C-A                                                    |
|                                                                                |
|System: INET0032I 11.26.15 START OF ZINET DISPLAY OF ACTIVE SERVERS             |
|        SERVER     PROTO PORT  PGM  IP              SOCKET            COUNT     |
|        TFTP       UDP   00069 CTFT ANY             00000036/00000024 0000000000|
|        FTP        TCP   00021 CFTP 9.117.198.74    00000037/00000025 0000000000|
|                                    9.117.198.70    00000000/00000000 0000000000|
|        APACHE           00000 CHTA ANY             00000038/00000026 0000000000|
|        END OF DISPLAY                                                          |
|                                                                                |
+--------------------------------------------------------------------------------+

The following example displays the status of the Internet daemon.

+--------------------------------------------------------------------------------+
|User:   ZINET DISPLAY                                                           |
|                                                                                |
|System: INET0026I 11:41:12 THE INETD IS ACTIVE                                  |
+--------------------------------------------------------------------------------+

Related Information