Sunteți pe pagina 1din 2

PROSHUT Command

Shuts down WebSpeed Brokers or the PROGRESS database server. Before you shut down the
server, have all Agents disconnect from the database. If necessary, you can disconnect Agents
with the PROSHUT command's Disconnect a User or Unconditional Shutdown menu
parameters.
UNIX, Windows:
-----------------------------------------------------------
proshut db_name [-by] [-bn] [-C qualifier-name] [-H host_name]
[-S service_name] [-F] [-Gw ]
-----------------------------------------------------------
When you enter the PROSHUT command without the -by, -bn, or -F parameters, a menu
appears with the following options:
Option Action
1 Prompts you for the number of the user you want to disconnect.
2 Disconnects all users and shuts down the database.
3
Prompts you to confirm your choice. If you cancel the choice, you cancel the
shutdown. If you confirm the choice, displays the following message:

Emergency shutdown initiated...

PROSHUT marks the database for abnormal shutdown and kills all remaining
processes connected to the database and deletes shared-memory segments and
semaphores. The database is in a crashed state. PROGRESS performs normal
crash recovery when you restart the database and backs out any active
transactions.
x Cancels the shutdown without taking any action.
PARAMETERS
db-name
Specifies the database the server is running against.
-by
Directs WebSpeed to perform an unconditional shutdown and to disconnect all active Agents.
Using -by in conjunction with -F causes an emergency shutdown.
-C disconnect usernumber
Direct WebSpeed to disconnect the specified user. You can find the user number by looking at
the first column of the output generated by the list option, or by specifying the Disconnect option
when using the interactive PROSHUT utility.
-C list
Direct WebSpeed to list all the users connected to the database.
-bn
Directs WebSpeed to perform a batch shutdown only if there are no active users.
-H host-name
Specifies the machine on which the database server runs. You must specify the host name if
you issue the shutdown command from a machine other than the host.
-S service-name
Specifies the database server or broker process. You must specify the service name if you
issue the shutdown command from a machine other than the host.
-F
Starts an emergency shutdown. To use this parameter, you must run proshut on the machine
where the server resides, and on UNIX systems. This parameter is not applicable for remote
shutdowns or DataServer shutdowns.
-Gw
For DataServers, specifies the DataServer broker to shut down.
NOTES
-- The PROSHUT command runs the following executable:
_mprshut
-- The PROGRESS Shutdown Server command runs the following executable.
Proshut.run
-- The user who shuts down the server must have started it, or be root on UNIX.
-- On Windows, you can only use the PROSHUT utility for local (not remote) shut down.

S-ar putea să vă placă și