[an error occurred while processing this directive]
HP OpenVMS Systems |
HP Advanced Server for OpenVMS
|
Previous | Contents | Index |
Displays information about OpenVMS Advanced Server print queues. The display includes, in tabular form:
- The queue name
- The number of jobs in the queue
- The queue status
- If a printer queue, "printer device:printer type;" if a routing queue, the list of print queues to which print jobs are routed
- The queue description
If a job is currently printing from a given queue, an additional line is displayed that contains the Job ID (job identification number) of the job, the user name that queued the print job, and the status of the print job.
SHOW PRINT QUEUES [queue-name] [/qualifier]
This command is valid only to HP OpenVMS servers. Use of this command does not require special group membership.
queue-name
Specifies the OpenVMS Advanced Server print queue for which to display information. If you do not supply a queue-name, information for all Advanced Server print queues is displayed.
/SERVER=server-name
Specifies the name of the server for which to show the print queues. The default is the server currently being administered.
LANDOFOZ\\TINMAN> SHOW PRINT QUEUES/SERVER=WOODMAN Name Jobs Status Printer/Routing Description ------------ ----- -------------------- --------------------------- BOB_PRNT 0 PAUSED destination paused LRA0:GENERIC GWENN 0 PAUSED BOB_PRNT LASER 1 PAUSED destination paused OPA0GENERIC Crew Printer Jill 0 PAUSED PARSIFAL J's rout.que TOTO 6 ACTIVE BOB_PRNT |
This example displays information about the print queues on the server WOODMAN.
Displays status information for network services available on a server. A service's state can be started, paused, or stopped. It may not be possible to obtain service information from some servers for services that have not been started. If this is the case, an informational message is displayed.
SHOW SERVICES [servicename] [/qualifier]
Use of this command does not require special group membership.
CONTINUE SERVICE
PAUSE SERVICE
START SERVICE
STOP SERVICE
servicename
Specifies the network service for which information should be displayed. If you omit servicename, information for all services is displayed.
/SERVER=server-name
Specifies the name of the server for which to display service information. The default is the server currently being administered.
LANDOFOZ\\TINMAN> SHOW SERVICES Services on server "TINMAN": Service Status --------------- --------------- ALERTER Started BROWSER Started EVENTLOG Started NETLOGON Started SERVER Started Total of 5 services |
This example displays status information for all services on the server currently being administered (TINMAN).
Displays information about active sessions to a server. A session is a link between a workstation and a server. It is established the first time a workstation makes a connection with a shared resource on the server. Until the session ends, all further connections between the workstation and the server are part of this same session. The session display includes, in tabular form:
- The name of the user that established the session
- The name of the computer that established the session
- The number of resources opened on the computer by the user
- The elapsed time since the session was established
- The time elapsed since the user last initiated an action
- Whether a session is using Guest access
SHOW SESSIONS [computer-name] [/qualifiers]
Use of this command requires membership in the Administrators local group.
CLOSE SESSION
SHOW CONNECTIONS
computer-name
Specifies the name of a computer whose sessions should be displayed. If you omit computer-name, then session information is displayed for all computers connected to the specified server.
/SERVER=server-name
Specifies the name of the server for which to show session information. The default is the server currently being administered./USERNAME=user-name
Specifies the name of a user whose sessions are to be displayed. By default, sessions for all users are displayed.
LANDOFOZ\\TINMAN> SHOW SESSIONS User Sessions on server "TINMAN": Connected Users Computer Opens Time Idle Guest ------------------ ------------- ----- -------- -------- --- ADMINISTRATOR TINMAN_176 3 1 23:01 0 00:00 No SCARECROW TINMAN_149 0 0 21:18 0 18:19 No Total of 2 connected users |
This example displays information about all sessions established to the server currently being administered (TINMAN).
Displays information about shared resources available on a server. The basic display includes, in tabular form:
- The name of the share
- The share type (directory or print)
- The share description
You can display additional information by using command qualifiers.
SHOW SHARES share-name [/qualifiers]
Use of this command in its default form does not require special group membership; however, the use of certain qualifiers requires special group membership. See the specific qualifier for any group membership requirements.
ADD SHARE/DIRECTORY
ADD SHARE/PRINT
MODIFY SHARE
REMOVE SHARE
share-name
Specifies the name of the share for which to display information. If you omit share-name, then the display contains information about all shares on the server that match any filtering criteria. Do not specify the share-name parameter on the same command line as the /ACTIVE, /HIDDEN, or /TYPE qualifiers.
/ACTIVE
Indicates that only active shares are to be displayed. Active shares are shares that have connections established to them. Use of this qualifier requires membership in the Administrators or Server Operators local group./FULL
/NOFULL
Displays all information about the shares. /FULL is equivalent to specifying /HOST_ATTRIBUTES/LIMIT/PATH/PERMISSIONS. Use of this qualifier requires membership in the Administrators or Server Operators local group. The default is /NOFULL, which omits all information about shares./HIDDEN
Includes hidden shares in the display. Hidden shares are shares whose name ends in a dollar sign ($) such as administrative resources and local device shares (such as C$). By default, the SHOW SHARES command does not display hidden shares unless you specify a specific share name, or you use the /TYPE qualifier to select a specific share type./HOST_ATTRIBUTES
/NOHOST_ATTRIBUTES
Displays the directory protection, file protection, and RMS record format for the share. The default is to omit this information (/NOHOST_ATTRIBUTES). This information is available only on directory shares offered by Advanced Server servers. Use of this qualifier requires membership in the Administrators or Server Operators local group./LIMIT
/NOLIMIT
Displays the maximum number of connections allowed to the share, and the current number of connections to the share. The default is /NOLIMIT, which omits the maximum number of connections. Use of this qualifier requires membership in the Administrators or Server Operators local group./PATH
/NOPATH
Displays the path to the share. For a directory share, the path is the path to the shared directory tree. For a print share, the path is the name of the associated OpenVMS Advanced Server print queue. The default is /NOPATH, which omits the path to the share. Use of this qualifier requires membership in the Administrators or Server Operators local group./PERMISSIONS
/NOPERMISSIONS
Displays the permissions associated with the shared resource. The default is /NOPERMISSIONS, which omits the permissions. Use of this qualifier requires membership in the Administrators or Server Operators local group./SERVER=server-name
Specifies the name of the server for which to display share information. The default is the server currently being administered./TYPE=share-type
Specifies the types of shared resources to display. Precede a share-type keyword with NO to exclude the specified share type from the display. The value of the share-type keyword can be one of the following:
Share-Type Shared Resource Type ALL All types of shares (the default): DIRECTORY, PRINT, DEVICE, IPC, and PERSONAL. To display hidden shares, you must specify the /HIDDEN qualifier or share name. [NO]DIRECTORY Directory shares. [NO]PRINT Print queue shares. [NO]DEVICE Communications devices. [NO]IPC Interprocess communications resource. [NO]PERSONAL Personal shares (HP OpenVMS servers only).
LANDOFOZ\\TINMAN> SHOW SHARES/PATH/LIMIT/PERMISSIONS Shared resources on server "TINMAN": Name Type Description ------------ --------- -------------------------------------- NETLOGON Directory Logon Scripts Directory Path: PWRK$LMROOT:[LANMAN.REPL.IMPORT.SCRIPTS] Connections: Current: 0, Maximum: No limit Share Permissions: Everyone Read PWUTIL Directory Adv. Srv. Client-based Utilities Path: PWRK$LMROOT:[LANMAN.SHARES.WIN] Connections: Current: 0, Maximum: No limit Share Permissions: Everyone Read TOTO Printer LA210 printer on TINMAN Queue: TOTO_LA210 Connections: Current: 0, Maximum: No limit Share Permissions: Everyone Print USERS Directory Users Directory Path: PWRK$LMROOT:[LANMAN.ACCOUNTS.USERDIRS] Connections: Current: 0, Maximum: No limit Share Permissions: Everyone Full Control Total of 4 shares |
This example displays information about all shares defined on the current server being administered (TINMAN). In addition to the base information, the display includes path, connection limit, and permissions information.
Displays the list of domains that this domain trusts, and the list of domains that are permitted to trust this domain.
SHOW TRUSTS [/qualifiers]
None
ADD TRUST
REMOVE TRUST
/DOMAIN=domain-name
Specifies the domain for which to display trust information. The default is the domain currently being administered. Do not specify both /DOMAIN and /SERVER on the same command line./SERVER=server-name
Specifies the name of a server that is a member of the domain for which to show the trust information. Do not specify both /DOMAIN and /SERVER on the same command line.
LANDOFOZ\\TINMAN> SHOW TRUSTS There are currently no domains trusted by domain LANDOFOZ. Domains permitted to trust domain LANDOFOZ: KANSAS |
This example displays trust information for the domain being administered (LANDOFOZ). It shows that the LANDOFOZ domain does not currently trust any other domains, and it permits domain KANSAS to trust it.
Displays information about user accounts in a domain. The basic display includes, in tabular form:
- The user account name
- The user's full name
- The account type (local or global)
- The user's description
You can display additional information by using command qualifiers.
SHOW USERS [user-name] [/qualifiers]
Use of this command in its default form does not require special group membership; however, the use of certain qualifiers requires special group membership. See the specific qualifier for any group membership requirements.
ADD USER
COPY USER
MODIFY USER
REMOVE USER
user-name
Indicates that only information for the specified user account should be displayed. If you omit a user name, then the display contains information for all user accounts in the domain that match any filtering criteria. Do not specify the user-name parameter on the same command line as the /GLOBAL or /LOCAL qualifiers.
/ACCOUNT
/NOACCOUNT
Includes account information in the display. The account information includes the account type (local or global) and if and when the account expires, and password information. The default is /NOACCOUNT, which omits the account information./DOMAIN=domain-name
Specifies the domain for which to display user account information. The default is the domain currently being administered. Do not specify both /DOMAIN and /SERVER on the same command line./FLAGS
/NOFLAGS
Includes the state of the logon flags in the display. The default is /NOFLAGS, which omits the state of the flags./FULL
/NOFULL
Includes all account information in the display; equivalent to specifying /ACCOUNT/FLAGS/GROUPS/HOURS/PROFILE/WORKSTATIONS. The default is /NOFULL, which omits all account information./GLOBAL
Restricts the display to global user accounts only. If neither the /GLOBAL nor /LOCAL qualifiers are specified, both global and local user accounts are displayed. Do not specify the user-name parameter on the same command line as the /GLOBAL qualifier./GROUPS
/NOGROUPS
Displays groups of which the user is a member. The default is /NOGROUPS, which omits the groups of which the user is a member./HOURS
/NOHOURS
Includes in the display the days and times during which the user can log on. The default is /NOHOURS, which omits the days and times during which the user can log on./LOCAL
Restricts the display to local user accounts only. If neither the /LOCAL nor /GLOBAL qualifiers are specified, both local and global user accounts are displayed. Do not specify the user-name parameter on the same command line as the /LOCAL qualifier./PROFILE
/NOPROFILE
Includes user profile information in the display. User profile information includes: the profile path, the logon script name, the home directory drive, and the home directory path. The default is /NOPROFILE, which does not display the user profile information./SERVER=server-name
Specifies the name of a server that is a member of the domain for which to show the user account information. Do not specify both /DOMAIN and /SERVER on the same command line./SORT=sort-type
Specifies the sorting order of the display. The sort-type keyword can be either of the following:
Keyword Description USERNAME Sort alphabetically by user name (the default) FULLNAME Sort alphabetically by user's full name /WORKSTATIONS
/NOWORKSTATION
Includes in the display the workstations from which the user can log on. The default is /NOWORKSTATION, which omits the workstations.
#1 |
---|
LANDOFOZ\\TINMAN> SHOW USERS User accounts in domain "LANDOFOZ": User Name Full Name Type Description ------------- -------------- ------ -------------------------- Administrator Global Built-in account for administering the domain Guest Global Built-in account for guest access to the domain SCARECROW The Scarecrow Global In search of a brain Total of 3 user accounts |
This example displays the default information for all user accounts in the domain currently being administered (LANDOFOZ).
#2 |
---|
LANDOFOZ\\TINMAN> SHOW USERS SCARECROW/FULL User accounts in domain "LANDOFOZ": User Name Full Name Type Description -------------- --------------- ------ ----------------------- SCARECROW The Scarecrow Global In search of a brain User profile: Logon script: Home Path: Primary Group: Domain Users Member of groups: Administrators, Domain Admins, Domain Users Workstations: No workstation restrictions Logon Flags: Login script is executed, Password does not expire Account Type: Global Account Expires: Never Logon hours: (All hours) Last Log On: 10/08/01 05:07 PM Password Last Set: 09/30/01 11:03 AM Password Changeable: 09/30/01 11:03 AM Password Expires: 11/30/01 11:03 AM Total of 1 user account |
This example displays all information for the user account SCARECROW on the domain currently being administered (LANDOFOZ).
Displays the Advanced Server software version information for the local server.
SHOW VERSION
This command is available to HP OpenVMS servers only. Use of this command does not require special group membership.
Starts a network service that is currently stopped. Use the SHOW SERVICES command to display a list of available services.
START SERVICE servicename [/qualifier]
Use of this command requires membership in the Administrators local group or the Server Operators local group.
CONTINUE SERVICE
PAUSE SERVICE
SHOW SERVICES
STOP SERVICE
servicename
Specifies the name of the network service to start.
/SERVER=server-name
Specifies the name of the server on which to start the service. The default is the server currently being administered.
LANDOFOZ\\TINMAN> START SERVICE NETLOGON %PWRK-I-SVCOPWAIT, attempting to start the "NETLOGON" service on "TINMAN" %PWRK-S-SVCSTART, service "NETLOGON" started on server "TINMAN" |
This example starts the NetLogon service on the server currently being administered (TINMAN).
Stops a currently running network service. Use the SHOW SERVICES command to display a list of available network services.
STOP SERVICE servicename [/qualifiers]
Use of this command requires membership in the Administrators local group or the Server Operators local group. You cannot use this command to stop the EventLog and Server services.
CONTINUE SERVICE
PAUSE SERVICE
SHOW SERVICES
START SERVICE
servicename
Specifies the name of the network service to stop.
/CONFIRM
/NOCONFIRM
Controls whether you are prompted for a confirmation before the operation is performed. The default is /CONFIRM if running in interactive mode. When the prompt is issued, the default response is shown, and you may accept the default by pressing Return or Enter. If you type YES, TRUE, or 1, the operation is performed. If you type NO, FALSE, 0, or enter Ctrl/Z, no action is performed. If you type anything else, the prompt is repeated until you type an acceptable response. No prompt for confirmation is issued if running in batch mode./SERVER=server-name
Specifies the name of the server on which to stop the service. The default is the server currently being administered.
LANDOFOZ\\TINMAN> STOP SERVICE NETLOGON Do you really want to stop service "NETLOGON" [YES or NO] (YES) : Y %PWRK-I-SVCOPWAIT, attempting to stop the "NETLOGON" service on "TINMAN" %PWRK-S-SVCSTOP, service "NETLOGON" stopped on server "TINMAN" |
This example stops the NetLogon service on the server currently being administered (TINMAN). A confirmation is required.
Previous | Next | Contents | Index |