Skip to Content
author's profile photo Former Member
Former Member

To check wheather a process is running at OS level

Hi experts,

can we know whether MSG_SERVER.EXE and DISP+WORK.EXE and IGSWD.EXE process are in ON or not(STATUS)

at OS level (may be from ABAP..............)

please reply...

Regards

ALBERT

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 26, 2011 at 08:40 AM

    Hi Albert,

    you can use ps command to display all running process if application server is running on linux. In windows you can use "wmic process get description". In both cases, from ABAP, you can execute OS command by creating this command in SM69 and executing it by function module SXPG_COMMAND_EXECUTE. Check [Creation of External Commands with the help of UNIX Coding in SAP|http://wiki.sdn.sap.com/wiki/display/ABAP/CreationofExternalCommandswiththehelpofUNIXCodingin+SAP] for detailed description how to do it. Or you can execute external command directly in transaction SM69 (resp. SM49).

    Regards

    Adrian

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Pass the same value to parameter OPERATINGSYSTEM as specified in SM69, do not use default value. Eg. if you are running on windows and in SM69 ANYOS is defined, it will return this error. Also be aware that operating system is case sensitive parameter, so "Windows NT" is not the same as "WINDOWS NT".

      Regards

      Adrian

  • author's profile photo Former Member
    Former Member
    Posted on Sep 28, 2011 at 06:55 AM

    it solved my problem...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.