cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to see sap work process from linux

Former Member
0 Likes
6,331

Hi All,

  I am using Solaris operating system, I tried to check work process from O/S level by "dpmon pf=<SID>_DVBMGS<instance no>_server " so its working fine in my quality and dev system, but when i am trying same steps in my PRD ,so it is not working with the below error

"

bash-3.00$ dpmon pf=IEP_DVEBMGS01_ITZECCAP

dpmon=>sapparam(2): fopenU("IEP_DVEBMGS01_ITZECCAP","r"): No such file or directory

dpmon=>No Profile used.

dpmon=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

DpMonInit failed - possibly no dispatcher running

DpMon: External/Internal dplib version: 110/247"

My PRD is on cluster, in this we have 3 application,

Please guide me how can i proceed the action in PRD.

Thanks and Regards,

Aziz.

View Entire Topic
former_member206552
Active Contributor
0 Likes

Hi Faizan,

Can you please try and execute 'dpmon pf=/sapmnt/SID/profile/DEFAULT.PFL' and let me know the results, as it just seems that you need to add SAPSYSTEMNAME parameter to the instance profile

Best Regards

Marius

Former Member
0 Likes

Hi Marius,

  Tried but same error, see below please.

bash-3.00$ dpmon pf=/sapmnt/IEP/profile/DEFAULT.PFL

DpMonInit failed - possibly no dispatcher running

DpMon: External/Internal dplib version: 110/247

bash-3.00$ dpmon pf=/sapmnt/IEP/DVEBMGS01/DEFAULT.PFL

dpmon=>sapparam(2): fopenU("/sapmnt/IEP/DVEBMGS01/DEFAULT.PFL","r"): No such file or directory

dpmon=>No Profile used.

dpmon=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

DpMonInit failed - possibly no dispatcher running

DpMon: External/Internal dplib version: 110/247

regards,

Aziz.

former_member206552
Active Contributor
0 Likes

Hi Aziz

what happend when you do a check on the profile ?

sappfpar check pf=IEP_DVEBMGS01_ITZECCAP

did you also try just adding SAPSYSTEMNAME=IEP to the instance profile ?

Former Member
0 Likes

Hi Marius,

In my instance profile the sapsystemame=IEP already exist .

but,

when i hit command "sappfpar check pf=IEP_DVEBMGS01_ITZECCAP" the screen comes as below,

sappfpar check pf=IEP_DVEBMGS01_ITZECCAP

sappfpar=>sapparam(2): fopenU("IEP_DVEBMGS01_ITZECCAP","r"): No such file or directory

sappfpar=>No Profile used.

sappfpar=>sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

================================================================================

==   Checking profile:     <no_profile>

================================================================================

***ERROR: Size of shared memory pool 10 too small

================================================================

SOLUTIONS: (1) Locate shared memory segments outside of pool 10

               with parameters like: ipc/shm_psize_<key> =0

SOLUTION: Increase size of shared memory pool 10

          with parameter: ipc/shm_psize_10 =128000000

***ERROR: Size of shared memory pool 40 too small

================================================================

SOLUTIONS: (1) Locate shared memory segments outside of pool 40

               with parameters like: ipc/shm_psize_<key> =0

SOLUTION: Increase size of shared memory pool 40

          with parameter: ipc/shm_psize_40 =112000000

Shared memory disposition overview

================================================================

Shared memory pools

Key:   10  Pool

            Size configured.....:    19880000 (  19.0 MB)

            Size min. estimated.:   124223396 ( 118.5 MB)

            Advised Size........:   128000000 ( 122.1 MB)

Key:   40  Pool for database buffers

            Size configured.....:    14250000 (  13.6 MB)

            Size min. estimated.:   109175040 ( 104.1 MB)

            Advised Size........:   112000000 ( 106.8 MB)

Shared memories inside of pool 10

Key:       11  Size:      500000 (   0.5 MB) Factory calender buffer

Key:       12  Size:     6000000 (   5.7 MB) TemSe Char-Code convert Buf.

Key:       13  Size:    60500000 (  57.7 MB) Alert Area

Key:       14  Size:     4400000 (   4.2 MB) Presentation buffer

Key:       16  Size:       22400 (   0.0 MB) Semaphore activity monitoring

Key:       17  Size:     2800228 (   2.7 MB) Roll administration

Shared memories inside of pool 40

Key:       42  Size:     7232992 (   6.9 MB) DB TTAB buffer

Key:       43  Size:    32534392 (  31.0 MB) DB FTAB buffer

Key:       44  Size:     7958392 (   7.6 MB) DB IREC buffer

Key:       45  Size:     4886392 (   4.7 MB) DB short nametab buffer

Key:       46  Size:       20480 (   0.0 MB) DB sync table

Key:       47  Size:     3073024 (   2.9 MB) DB CUA buffer

Key:       48  Size:      500000 (   0.5 MB) Number range buffer

Key:       49  Size:     2968344 (   2.8 MB) Spool admin (SpoolWP+DiaWP)

Shared memories outside of pools

Key:        1  Size:        2500 (   0.0 MB) System administration

Key:        2  Size:     6248368 (   6.0 MB) Disp. administration tables

Key:        3  Size:    13714400 (  13.1 MB) Disp. communication areas

Key:        4  Size:      503248 (   0.5 MB) statistic area

Key:        6  Size:   319488000 ( 304.7 MB) ABAP program buffer

Key:        7  Size:       14838 (   0.0 MB) Update task administration

Key:        8  Size:    67108964 (  64.0 MB) Paging buffer

Key:        9  Size:   134217828 ( 128.0 MB) Roll buffer

Key:       18  Size:      917604 (   0.9 MB) Paging adminitration

Key:       19  Size:    30000000 (  28.6 MB) Table-buffer

Key:       30  Size:        3072 (   0.0 MB) Taskhandler runtime admin.

Key:       31  Size:     1806000 (   1.7 MB) Dispatcher request queue

Key:       33  Size:    10240000 (   9.8 MB) Table buffer, part.buffering

Key:       41  Size:    25010000 (  23.9 MB) DB statistics buffer

Key:       51  Size:     3200000 (   3.1 MB) Extended memory admin.

Key:       52  Size:       40000 (   0.0 MB) Message Server buffer

Key:       54  Size:     4202496 (   4.0 MB) Export/Import buffer

Key:       55  Size:        8192 (   0.0 MB) Spool local printer+joblist

Key:       57  Size:     1048576 (   1.0 MB) Profilparameter in shared mem

Key:       58  Size:        4096 (   0.0 MB) Enqueue ID for reset

Key:       62  Size:    85983232 (  82.0 MB) Memory pipes

Key:       63  Size:      409600 (   0.4 MB) ICMAN shared memory

Key:       64  Size:     4202496 (   4.0 MB) Online Text Repository Buf.

Key:       65  Size:     4202496 (   4.0 MB) Export/Import Shared Memory

Key:     1002  Size:      400000 (   0.4 MB) Performance monitoring V01.0

Key: 58900100  Size:        4096 (   0.0 MB) SCSA area

Nr of operating system shared memory segments: 28

Shared memory resource requirements estimated

================================================================

Total Nr of shared segments required.....:         28

System-imposed number of shared memories.:         93

Shared memory segment size required min..:  319488000 ( 304.7 MB)

System-imposed maximum segment size......: 19864223744 (18944.0 MB)

Swap space requirements estimated

================================================

Shared memory....................:  910.7 MB

..in pool 10   19.0 MB,  624% used !!

..in pool 40   13.6 MB,  766% used !!

..not in pool:  679.9 MB

Processes........................:   29.0 MB

Extended Memory .................: 4092.0 MB

------------------------------------------------

Total, minimum requirement.......: 5031.7 MB

Process local heaps, worst case..: 1907.3 MB

Total, worst case requirement....: 6939.1 MB

Errors detected..................:    2

Warnings detected................:    0

former_member206552
Active Contributor
0 Likes

HI Faizan

can you please go the the profile directory and check the permissions as suggested by Andrea,

ls -l /sapmnt/IEP/profile

and paste the results

Best Regards

Marius

Former Member
0 Likes

Hi Faizan,

Mr. Wahudi makes a very good point.

Do df -h on your working and non working system.

Do comparison, if your profile dir is not mounted on prod you may have to contact linux team to add it.

Regards,

Johan

Former Member
0 Likes

Hi,

Please see the permission for Profile directory ,

bash-3.00$ cd /usr/sap/IEP/SYS/profile

bash-3.00$ ls -altr

total 158

-rw-r--r--   1 iepadm   sapsys       245 Jun 29  2009 DEFAULT.1.PFL

-rw-r--r--   1 iepadm   sapsys       333 Jun 30  2009 DEFAULT.2.PFL

drwxr-xr-x   2 iepadm   sapsys       512 Jun 30  2009 oracle

-rw-r--r--   1 iepadm   sapsys       408 Jun 30  2009 DEFAULT.3.PFL

-rw-r--r--   1 iepadm   sapsys      1955 Jul  2  2009 DEFAULT.4.PFL

-rw-r--r--   1 iepadm   sapsys        71 Jul  7  2009 INSTSTAT

-rw-r--r--   1 iepadm   sapsys       415 Jul  7  2009 enquelog

-rw-r--r--   1 iepadm   sapsys      1285 Jul 16  2009 START_ERS10_itzeccers

-rw-r--r--   1 iepadm   sapsys       923 Jul 16  2009 IEP_ERS10_itzeccers

-rw-r--r--   1 iepadm   sapsys      1551 Jul 16  2009 START_ASCS00_itzeccascs

-rw-r--r--   1 iepadm   sapsys       998 Jul 16  2009 IEP_ASCS00_itzeccascs

drwxr-xr-x   2 iepadm   sapsys       512 Aug 12  2009 old_temp

-rw-r--r--   1 iepadm   sapsys       257 Mar 23  2010 dev_msprot

-rw-rw----   1 iepadm   sapsys      6091 Oct 17  2011 IEP_DVEBMGS01_itzeccap.BAK

-rw-rw----   1 iepadm   sapsys      5811 Oct 17  2011 IEP_D01_itzeccap1.BAK

-rw-r--r--   1 iepadm   sapsys      6223 Jun  6  2012 IEP_DVEBMGS01_itzeccap

-rw-r--r--   1 iepadm   sapsys      5940 Jun  6  2012 IEP_D01_itzeccap1

-rw-r--r--   1 iepadm   sapsys      3165 Jun  6  2012 START_D01_itzeccap2

-rw-r--r--   1 iepadm   sapsys      3566 Jun  6  2012 START_DVEBMGS01_itzeccap

-rw-r--r--   1 iepadm   sapsys      3190 Jun  6  2012 START_D01_itzeccap1

-rw-rw----   1 iepadm   sapsys      6119 Jun 11  2012 IEP_D01_itzeccap2.BAK

-rw-r--r--   1 iepadm   sapsys      6248 Jun 11  2012 IEP_D01_itzeccap2

drwxr-xr-x  11 iepadm   sapsys       512 Mar  2 16:16 ..

drwxr-xr-x   4 iepadm   sapsys      2048 Mar  2 21:39 .

-rw-r--r--   1 iepadm   sapsys       726 Mar  2 21:39 sqlnet.log

-rw-rw----   1 iepadm   sapsys      2599 Mar 13 17:06 DEFAULT.BAK

-rw-rw----   1 iepadm   sapsys      2714 Mar 13 17:06 DEFAULT.PFL

-rw-r--r--   1 iepadm   sapsys      1040 Apr 21 14:33 dev_sapstart

-rw-r--r--   1 iepadm   sapsys       747 Aug  8 16:45 dev_dpmon

bash-3.00$

Regards,

Faizan Aziz.