Advanced Server for OpenVMS
Commands Reference Manual


Previous Contents Index


SHOW PRINT JOBS

Displays information about print jobs in Advanced Server print queues. For each queue that contains jobs, a one-line queue summary is output, which displays the queue type (printer or routing), the queue name, the queue status, and number of jobs in the queue. This is followed by information for each job in the queue, which includes in tabular form:

Format

SHOW PRINT JOBS [job-id] [/qualifiers]

restrictions

This command is valid only to OpenVMS servers. Use of this command does not require special group membership.

Related Commands


Parameters

job-id

Specifies the job identification number of a particular print job to display. If you omit job-id, information for all print jobs in all print queues is displayed. Do not specify both the job-id parameter and the /QUEUE qualifier on the same command line.

Qualifiers

/QUEUE=queue-name

Specifies the print queue for which to display print job information. Do not specify both the job-id parameter and the /QUEUE qualifier on the same command line.

/SERVER=server-name

Specifies the name of the server for which to show the print jobs. The default is the server currently being administered.

Example


LANDOFOZ\\TINMAN> SHOW PRINT JOBS 
 
Printing Queue HPLASER_W3 : ACTIVE 
        Job   User Name            Size         Status 
        ----- -------------------- ------------ ------------------- 
          330 system                       2048 PRINTING 
          583 scarecrow                    2048 QUEUED 
          358 lion                         1536 QUEUED 
 
 
      

This example displays information about all print jobs in all print queues on the server currently being administered (TINMAN).


SHOW PRINT QUEUES

Displays information about Advanced Server print queues. The display includes, in tabular form:

If a job is currently printing from a given queue, an additional line is displayed which 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.


Format

SHOW PRINT QUEUES [queue-name] [/qualifier]

restrictions

This command is valid only to OpenVMS servers. Use of this command does not require special group membership.

Parameters

queue-name

Specifies the 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.

Qualifiers

/SERVER=server-name

Specifies the name of the server for which to show the print queues. The default is the server currently being administered.

Example


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.


SHOW SERVICES

Displays status information for installed network services available on a server. A service's state can be started, paused, or stopped.

Format

SHOW SERVICES [servicename] [/qualifier]

restrictions

Use of this command does not require special group membership.

Related Commands


Parameters

servicename

Specifies the network service for which information should be displayed. If you omit servicename, information for all installed services is displayed.

Qualifiers

/SERVER=server-name

Specifies the name of the server for which to display service information. The default is the server currently being administered.


Example


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 installed services on the server currently being administered (TINMAN).


SHOW SESSIONS

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:

Format

SHOW SESSIONS [computer-name [/qualifiers]

restrictions

Use of this command requires membership in the Administrators local group.

Related Commands


Parameters

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.

Qualifiers

/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.

Example


LANDOFOZ\\TINMAN> SHOW SESSIONS 
 
User Sessions on server "TINMAN": 
 
Connected Users     Computer         Opens  Time      Idle      Guest 
------------------  ---------------  -----  --------  --------  ----- 
ADMINISTRATOR       TINMAN_176           3   1 29: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).


SHOW SHARES

Displays information about shared resources available on a server. The basic display includes, in tabular form:

You can display additional information by using command qualifiers.


Format

SHOW SHARES share-name [/qualifiers]

restrictions

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.

Related Commands


Parameters

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 which match any filtering criteria. Do not specify the share-name parameter on the same command line as the /ACTIVE, /HIDDEN, or /TYPE qualifiers.

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. By default, hidden shares are not displayed unless a specific share name is supplied, 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 for OpenVMS 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 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)
[NO]DIRECTORY Directory shares
[NO]PRINT Print queue shares
[NO]DEVICE Communications devices
[NO]IPC Interprocess communications resource
[NO]PERSONAL Personal shares (OpenVMS servers only)

Example


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  PATHWORKS 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.


SHOW TRUSTS

Displays the list of domains that this domain trusts, and the list of domains that are permitted to trust this domain.

Format

SHOW TRUSTS [/qualifiers]

Related Commands


Qualifiers

/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.

Example


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.


SHOW USERS

Displays information about user accounts in a domain. The basic display includes, in tabular form:

You can display additional information by using command qualifiers.


Format

SHOW USERS [user-name] [/qualifiers]

restrictions

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.

Related Commands


Parameters

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 which match any filtering criteria. Do not specify the user-name parameter on the same command line as the /GLOBAL or /LOCAL qualifiers.

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. 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 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 sort 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.

Examples

#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) 
 
   Total of 1 user account 
 
 
      

This example displays all information for the user account SCARECROW on the domain currently being administered (LANDOFOZ).


SHOW VERSION

Displays the Advanced Server software version information for the local server.

Format

SHOW VERSION

restrictions

This command is available to OpenVMS servers only. Use of this command does not require special group membership.

Example


LANDOFOZ\\TINMAN> SHOW VERSION 
 
Advanced Server V7.2 for OpenVMS 
      


START SERVICE

Starts a network service that is currently stopped. Use the SHOW SERVICES command to display a list of available services.

Format

START SERVICE servicename [/qualifier]

restrictions

Use of this command requires membership in the Administrators local group or the Server Operators local group.

Related Commands


Parameters

servicename

Specifies the name of the network service to start.

Qualifiers

/SERVER=server-name

Specifies the name of the server on which to start the service. The default is the server currently being administered.

Example


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).


Previous Next Contents Index