Work with NWS Status (WRKNWSSTS)
Where allowed to run: Interactive environments (*INTERACT *IPGM *IREXX *EXEC) Threadsafe: No |
Parameters Examples Error messages |
The Work with Network Server Status (WRKNWSSTS) command displays a list of servers and their current status. Specific options are available to work with individual servers in the list. These options provide functions such as displaying active users, restarting a server, displaying statistics, and so on. The display that appears differs depending on the value of the SVRTYPE parameter.
- If SRVTYPE(*ALL) is specified, the display shows options and information relevant for ALL server types configured on IBM i.
- If SVRTYPE(*NWSUSRA) is specified, the display shown depends on the value specified for the SVRTYPE parameter in the network server user attributes (CHGNWSUSRA command) for the current user.
- If SVRTYPE(*NWSA) is specified, the display shown depends on the value specified for the SVRTYPE parameter in the network server attributes (CHGNWSA command).
- If SVRTYPE(*WINDOWS) or (*WINDOWSNT) is specified, the display shows options and information relevant to local NWSDs that were created as Windows servers.
- If SVRTYPE(*ESX) is specified, the display shows options and information relavant to NWSDs running VMware ESX operating systems.
- If SVRTYPE(*AUX) is specified, the display shows options and information relavant to NWSDs associated with auxiliary server operating systems such as VMware virtual machines managed by IBM i.
- If SVRTYPE(*LINUX) or (*AIX) is specified, the display shows options and information relevant for NWSDs running Linux or AIX operating systems. If the NWSD server type is *GUEST, then the Status is shown only. The Display details option will not be available to be selected.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
SERVER | Server | Character value, *ALL | Optional, Positional 1 |
SVRTYPE | Server type | *ALL, *NWSUSRA, *NWSA, *WINDOWS, *ESX, *AUX, *LINUX, *AIX, *WINDOWSNT | Optional |
Top |
Server (SERVER)
Specifies the name of a server.
- *ALL
- All local servers and all remote 'active' servers are displayed.
- generic*-server-name
- Specify the generic name of the server.
- server-name
- Specify the name of a specific server.
Top |
Server type (SVRTYPE)
Specifies which type of server to work with. The Work with Network Server Status display lists Windows, ESX, Linux, or AIX servers.
- *ALL
- A list of ALL existing server types is displayed.
- *NWSUSRA
- The type of servers to list is specified in the network server user attributes (CHGNWSUSRA command).
- *NWSA
- The type of servers to list is specified in the network server attributes (CHGNWSA command).
- *WINDOWS or *WINDOWSNT
- A list of Windows servers is displayed.
Note: *WINDOWS should be used in V5R4 and later releases. The *WINDOWSNT value is supported for compatibility with releases prior to V5R4.
- *ESX
- A list of VMware ESX servers is displayed.
- *AUX
- A list of auxiliary operating system servers is displayed.
- *LINUX or *AIX
- A list of NWSDs with Linux or AIX operating system is displayed.
Note: If the NWSD server type is *GUEST, then the Status is shown only. Display details option is not available to be displayed.
Top |
Examples
WRKNWSSTS SERVER(SERVER2) SVRTYPE(*WINDOWS)
This command displays the Work with Network Server Status panel for a Windows server named SERVER2.
WRKNWSSTS SVRTYPE(*ALL)
This command displays the Work with Network Server Status panel for ALL existing server types.
Top |
Top |