tcl.maxusers

Verb: Access/TCL, Releases: AP and AP 6.0

Displays/sets maximum number of Pick users.

Syntax

maxusers {(options}

Description

displays the number of licensed Pick users on the system, and/or sets the system in single or multi-user mode.

The 'single-user mode' is defined as the state where only the process which executes the command is allowed on the system.

If the process which executes the command is not port 0, though, port 0 will always be allowed in. This makes the command forgiving to logon, in the case when the terminal which sets the single-user mode becomes unavailable (following a modem problem, for instance).

All other ports are optionally logged off before entering the single-user mode, after sending two warning messages, separated by an optional grace delay. Confirmation is required before logging a user off.

A message is logged in the 'errors' file when entering single or multi-user mode.

Options

number (integer number) Defines the 'grace' period delay in seconds before logging users off when entering single-user mode. The default is five seconds.

f Logs off users currently logged on before entering single-user mode. A warning message is sent to users, unless the 'n' option is also specified. When a user is logged on, confirmation is asked, unless the 'u' option is also specified.

l Suppresses the message log in the 'errors' file when changing the mode.

m Sets multi-user mode. The number of allowed users is set back to the maximum user license.

n Suppresses the warning message to users when entering single-user mode (valid only with 'f' option).

p Prints the results.

q Quiet mode. Suppresses all output to the terminal.

s Sets single-user mode.

u Unconditionally logs off users currently logged on when entering single-user mode (valid only with 'f' option).

Example

maxusers
Number of licensed users : 128
Number of users currently logged on : 8
Number of users allowed on system : 128
Number of ports on system : 128

maxusers (sf30

This enters single-user mode, allowing a grace period of 30 seconds after
issuing the first warning message, before logging users off. This command
displays the following information, after entering single-user mode:

Number of licensed users : 128
Number of users currently logged on : 1
Number of allowed users : 1
Number of ports on system : 128

maxusers (m
Number of licensed users : 128
Number of users currently logged on : 8
Number of users allowed on system : 128
Number of ports on system : 128

Enters multi-user mode.

maxusers (snufq

This enters single-user mode ('s'), logs all users off
unconditionally ('f' and 'u'), immediately -- without any
warning ('n'), in 'quiet' mode ('q') -- so no
output displays.

See Also

Command Name Type Description
tcl.what Verb: Access Combines output of 'what', 'where', 'list-locks' and 'sp-status' commands.
ue.f070 User Exit Toggles multi-user mode and returns system information.
tcl.config.options Menu Configures various options.
tcl.config.ports Menu Configures port/phantom usage.
tcl.system-coldstart Verb: Access Performs startup commands after booting Pick.
tcl.user-coldstart Verb: Access Invokes user-defined coldstart sequence.
tcl.:files Verb: Access Restores entire file system from 'file-save' media.
tcl.coldstart Verb: Access System coldstart procedure.
tcl.ap.unix Verb: TCL2 Starts a Pick virtual machine or Pick user process.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.