Managing clients with the CLI
The clientmgr command tool can be used to manage the MVMM clients, that is, the Monitor Console and most CLI utilities.
Option | Description |
---|---|
--shutdown | Use --shutdown to shutdown all clients and new connections from any user. clientmgr --shutdown message --wait seconds --expire seconds user |
--restrict | Use --restrict to only allow clients of administrative users. Clients of clientmgr --restrict message --wait seconds --expire seconds user |
--notify | Use --notify to display a message on all clients. This state persists when clientmgr --notify message --expire seconds user |
--clear | Use --clear to cancel --shutdown, --restrict, or --notify. clientmgr --clear user |
--disable | Use --disable to prevent any new clients of a user from connecting. clientmgr --disable user user |
--enable | Use --enable to enable client connections for a user previously disabled. clientmgr --enable user user |
--status | Use --status to display the current message displayed to clients, whether clientmgr --status user |
Messages are displayed at the bottom of the frame of the Monitor Console and in a dialog when -d is specified. the message on the frame may be replaced while certain Monitor Console operations are in-progress but will return after the operation completes.
The following table contains the options that you can use with the clietmgr command:
Option | Description |
---|---|
--as-host host_name | Application Service host. |
--as-port port_number | Application Service port. |
--clear | Cancels --shutdown, --restrict or --notify before they |
--disable user | Disables a user. Terminates connected clients and prevents |
--enable user | Enable client connections by specified user. |
--expire seconds | Number of seconds before --shutdown, --restrict or --notify expires. |
--expire-date "yyyy-MM-dd HH:mm:ss" | Date/Time when --shutdown, --restrict or --notify expire |
--notify message | Sends message to connected clients. Message remains until expired or cleared. |
--restrict message | Sends message to connected clients and restricts client connections to administrators until expired as specified by --expire or --expire-date or cleared using --clear. Waits for a period of time specified by --wait or --wait-date and then terminates any remaining clients of users that are not an administrator. Edits in progress will be lost for any clients terminated. |
--shutdown message | Sends message to connected clients. Prevents new client connections. until expired as specified by --expire or --expire-date or cleared using --clear. Waits for a period of time specified by --wait or --wait-date and then terminates any remaining clients. Edits in progress will be lost for any clients terminated. |
--status | Shows status (ie. whether shutdown in progress or client connections restricted) and connected clients. |
--wait seconds | Number of seconds --shutdown, --restrict waits before terminating clients. |
--wait-date "yyyy-MM-dd HH:mm:ss" | Date/Time --shutdown or --restrict waits before terminating clients. |
-d | Display message in pop-up dialog as well as on frame. |
-h|-? | Give this help summary. |
-p password | Password. |
-s|--stdin | Specify password via stdin. This is mutually exclusive with -p. |
-v | Run in verbose mode. |