showserver
UID
PID
PPID
jorge 3320 1
jorge 3321 3320
jorge 3322 3320
jorge 3323 3320
Shutdown and shared memory files
Configuration Guide
kill pid
where pid is the process identification of any
process, as determined by the
particular Adaptive Server kills all engines for that server.
If more than one Adaptive Server is running on the same system, be careful that
the engine you kill is associated with the correct Adaptive Server. If your
Adaptive Server is configured to use multiple engines (CPUs), each engine has
an associated operating system process. The correct way to kill a multi-engine
server is to specify the process ID for engine 0.
This
showserver
C
STIME
TTY
80
10:31:40
pts/4
80
10:31:45
pts/4
80
10:31:45
pts/4
80
10:31:45
pts/4
This example shows four running
process identifications (PID) 3320, 3321, 3322, and 3323 (
executable form of the Adaptive Server program.)
Child engine processes for the dataserver have the
Each child engine has a parent process identification (PPID) that is equal to the
process identification (PID) of the parent. In the example above, the PID of the
parent server is 3320. The other three engines spawned by the parent process
have the same PPID.
If the PPIDs appear to be unrelated, and there is more than one
process, then more than one Adaptive Server is running on the system.
When Adaptive Server starts, it creates SERVER_NAME.krg file in
$SYBASE/$SYBASE_ASE directory to store information about shared memory
segments that it uses.
CHAPTER 2
showserver
output shows the processes for a four-engine server:
TIME
COMD
302:15
dataserver -dteamster
324:47
dataserver -ONLINE:1
326:02
dataserver -ONLINE:2
328:56
dataserver -ONLINE:3
dataserver
Starting and Stopping Servers
or
dataserver
backupserver
command. Killing one engine for a
processes with operating system
dataserver
argument.
-ONLINE:
is the
dataserver
27
Need help?
Do you have a question about the Adaptive Server and is the answer not in the manual?