Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual page 64

Table of Contents

Advertisement

Stopping the database server
Example — Stop a
server with stop_asiq
% stop_asiq
Checking system for ASIQ 12 Servers ...
The following 3 server(s) are owned by other users.
##
Owner
-- ---------
hsin
19895
asiqsrv12 -c 16m -gd all -gm 10 -gn 25 -gp 4096 -ti 4400 -tl 300
-n hsin -x tcp
qadaily
24754
asiqsrv12 -gn 25 @/express1/qa/daily/engine/new.cfg asiqdemo.db
-o /express1/qa
washburn
28350
asiqsrv12 -gn 25 @asiqdemo.cfg -o
/express1/users/washburn/mysybase12.4.0/asiq1
The following 1 server(s) are owned by 'janed'
##
Owner
-- ---------
-----
1:
janed
asiqsrv12 -c 16m -gd all -gm 10 -gn 25 -gp 4096 -ti 4400 -tl 300 @asiqdemo.cfg
--
Please note that 'stop_asiq' will shutdown a server completely
without regard for users connections or load processes status.
For a finer level of detail the utility 'dbstop' has the options
to control whether a server is stopped based on active connections.
Do you want to stop the server displayed above <Y/N>?
Shutting down server (2838) ...
Checkpointing server (2838) ...
Server shutdown.
44
The following example uses the
down an Adaptive Server IQ server and close all user connections to it.
When you issue the
stop_asiq
servers owned by other users, followed by the server(s) you own. It then asks
if you want to stop your server. For example:
PID
Started
CPU_Time
-----
--------
--------
Mar.21
01:25:07
1286:53
Apr.11
0:20
PID
Started
CPU_Time
--------
--------
2838
15:11:37
To shut down the server, type
To leave the server running, type
IQ does not shut down the server.
utility on UNIX systems to shut
stop_asiq
command, Adaptive Server IQ lists all the
-----------------------
1:33
-----------------------
0:07
(yes). Messages like the following display:
Y
(no). You return to the system prompt and
N

Advertisement

Table of Contents
loading

Table of Contents