Mostrando postagens com marcador BC-CST. Mostrar todas as postagens
Mostrando postagens com marcador BC-CST. Mostrar todas as postagens

terça-feira, 25 de outubro de 2011

shared memory owner

How to check the shared memory owner?

1. showipc
2. get the key number and find the address, for example:

> showipc 01 | grep 51
OsKey: 20151 0x00004eb7 Semaphore Key: 51

the address is 4eb7

3. call the ipcs with the address, for example:

> ipcs | grep 4eb7
0x00004eb7 2818130 loladm 740 1


sexta-feira, 21 de outubro de 2011

semd

Op: Rq=1,Rl=2,Sh=3,In=4,InM=6,RmM=7,Clo=8,RmLM=9,Exit=10,AllowReInit=11 :10

3: Show the status of the semaphore.
4: Command "initialize".
10: Exit the semd program.


ex:
#!/bin/bash
SEMA=3; echo "4 $SEMA -1 3 10" > options; semd pf=INSTANCE_PROFILE < options

terça-feira, 30 de agosto de 2011

3223

rdisp/wp_ca_blk_no
rdisp/appc_ca_blk_no
rdisp/tm_max_no
rdisp/max_comm_entries


segunda-feira, 28 de março de 2011

Work process status (DP_WAIT_REASON)

Every work process can get status as per what it is doing.

DP_WAIT_REASON is an enumeration of all possible wait reasons.

NO_WAITING = 0, Session does not wait
WAITING_FOR_DEBUG_IO = 1, Session waits for debugger input
WAITING_FOR_RFC = 2, Session waits for RFC response
WAITING_FOR_ENQUEUE = 3, Session waits for enqueue response
WAITING_FOR_VB = 4, Session waits for update response
WAITING_FOR_SPO = 5, Session waits for spool
WAITING_FOR_ADM = 6, Session waits for adm message response
WAITING_FOR_NO = 7, Session waits for number range buffer response
WAITING_FOR_GUI = 8, Session waits for gui input
WAITING_FOR_PRIV = 9, Session is hold because of private memory
WAITING_FOR_VB_ADM = 10, Session waits for update admin message response
WAITING_FOR_SERV_LIST = 11, Session reads the server list
WAITING_FOR_GWMON = 12, Session waits for gateway monitor response
WAITING_FOR_SNC = 13, Session waits for return of blocking snc call
WAITING_FOR_USER_LOCK = 14, Session is locked for a dedicated user
WAITING_FOR_TIMEOUT = 15, Session sleeps
WAITING_FOR_MS = 16, Session waits for a message to be send
WAITING_FOR_OS = 17, Session waits for execution of an operation system command
WAITING_FOR_MSGOPCODE = 18, Session waits for execution of an msg server action
WAITING_FOR_ARFC = 19, Session waits for ARFC execution
WAITING_FOR_RPC = 20, Session waits for response of an remote action
WAITING_FOR_VB2 = 22 Session waits for update 2 response

quinta-feira, 13 de maio de 2010

monitoring from OS

If you wold like to monitoring the SAP system from command line or automatize a script to do this or colect information from OS side to update a external tool or report you can use the DPMON or sapcontrol.

DPMON is an interactive tool provide from SAP.

sapcontrol is a tool that you can colect information from instance and from remote instances.


More info:
675778 Analysis after system downtime
42074 Using the R/3 dispatcher monitor 'dpmon'

quarta-feira, 24 de março de 2010

trace files

Work process:
#84850 Increase trace level of work processes
#112 Trace and error information in the "dev_" files

Web Dispatcher
#634262 Note on the preclarification of SAP Web dispatcher messages
in point 8
or set parameter 3 in rdisp/TRACE.

ICM
You can increase the trace level by adding the following parameter to your instance profile:
rdisp/TRACE = 2
and restart the system after the change is made.
Similarly, you can increase the trace level through the SMICM transaction.
Open SMICM, then "goto->trace level->set" and enter 2.